From: handa Date: Wed, 17 Aug 2005 11:18:48 +0000 (+0000) Subject: (msymbol_is_managing_key): Extern it. X-Git-Tag: REL-1-3-0~298 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=819616dacfef49aad64a7a6f7460ab26c0bfbf2b;p=m17n%2Fm17n-lib.git (msymbol_is_managing_key): Extern it. (mtext_data): Extern it. (MTEXT_FORMAT_UTF_16): Correct type. --- diff --git a/src/m17n-core.h b/src/m17n-core.h index 3d0880a..0e3a0a4 100644 --- a/src/m17n-core.h +++ b/src/m17n-core.h @@ -162,6 +162,9 @@ extern MSymbol msymbol (const char *name); /* Return a managing key of name NAME. */ extern MSymbol msymbol_as_managing_key (const char *name); +/* Check if SYMBOL is a managing key. */ +extern int msymbol_is_managing_key (MSymbol symbol); + /* Return a symbol of name NAME if it already exists. */ extern MSymbol msymbol_exist (const char *name); @@ -364,6 +367,9 @@ enum MTextFormat extern MText *mtext (); +extern void *mtext_data (MText *mt, enum MTextFormat *fmt, int *nunits, + int *pos_idx, int *unit_idx); + /*=*/ /***en @name Variables: Default Endian of UTF-16 and UTF-32 */ @@ -394,7 +400,7 @@ extern MText *mtext (); @seealso mtext_from_data () */ -extern const int MTEXT_FORMAT_UTF_16; +extern const enum MTextFormat MTEXT_FORMAT_UTF_16; /*=*/ /*** @ingroup m17nMtext */