From: handa Date: Fri, 15 Apr 2005 08:04:04 +0000 (+0000) Subject: (MTEXTPROP_START, MTEXTPROP_END, MTEXTPROP_KEY) X-Git-Tag: REL-1-3-0~343 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85d1a83a1c4f25aa8e08b461c54dd52b5f36a6bd;p=m17n%2Fm17n-lib.git (MTEXTPROP_START, MTEXTPROP_END, MTEXTPROP_KEY) (MTEXTPROP_VAL): New macros. --- diff --git a/src/textprop.h b/src/textprop.h index 30e75b6..1701707 100644 --- a/src/textprop.h +++ b/src/textprop.h @@ -50,6 +50,10 @@ struct MTextProperty void *val; }; +#define MTEXTPROP_START(prop) (prop)->start +#define MTEXTPROP_END(prop) (prop)->end +#define MTEXTPROP_KEY(prop) (prop)->key +#define MTEXTPROP_VAL(prop) (prop)->val extern struct MTextPlist *mtext__copy_plist (struct MTextPlist *, int from, int to,