From 85d1a83a1c4f25aa8e08b461c54dd52b5f36a6bd Mon Sep 17 00:00:00 2001 From: handa Date: Fri, 15 Apr 2005 08:04:04 +0000 Subject: [PATCH] (MTEXTPROP_START, MTEXTPROP_END, MTEXTPROP_KEY) (MTEXTPROP_VAL): New macros. --- src/textprop.h | 4 ++++ 1 file changed, 4 insertions(+) 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, -- 1.7.10.4