From: handa Date: Mon, 13 Dec 2004 08:26:27 +0000 (+0000) Subject: (m17n_object): Rename extern from m17n_object_setup. X-Git-Tag: REL-1-2-0~50 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=706acd4b0f94219966cc724be841e0ddda33be75;p=m17n%2Fm17n-lib.git (m17n_object): Rename extern from m17n_object_setup. (MTextProperty): Document it. --- diff --git a/src/m17n-core.h b/src/m17n-core.h index 5631450..540565a 100644 --- a/src/m17n-core.h +++ b/src/m17n-core.h @@ -111,7 +111,7 @@ typedef struct /*=*/ /* Return a newly allocated managed object. */ -extern void *m17n_object_setup (int size, void (*freer) (void *)); +extern void *m17n_object (int size, void (*freer) (void *)); /* Increment the reference count of managed object OBJECT. */ extern int m17n_object_ref (void *object); @@ -331,10 +331,7 @@ typedef struct MText MText; /*=*/ -extern MText *mtext (); - -/*=*/ - +/*** @ingroup m17nMtext */ /***en @brief Enumeration for specifying the format of an M-text. @@ -361,6 +358,10 @@ enum MTextFormat }; /*=*/ +extern MText *mtext (); + +/*=*/ + extern const enum MTextFormat MTEXT_FORMAT_UTF_16; extern const enum MTextFormat MTEXT_FORMAT_UTF_32; @@ -578,6 +579,19 @@ extern int mtext_prop_range (MText *mt, MSymbol key, int pos, int *from, int *to, int deeper); /*=*/ +/*** + @ingroup m17nTextProperty */ +/***en + @brief Type of text properties. + + The type #MTextProperty is for a @e text @e property objects. Its + internal structure is concealed from application programs. */ +/***ja + @brief @c ¥Æ¥­¥¹¥È¥×¥í¥Ñ¥Æ¥£¤Î·¿Àë¸À. + + #MTextProperty ¤Ï @e ¥Æ¥­¥¹¥È¥×¥í¥Ñ¥Æ¥£ ¥ª¥Ö¥¸¥§¥¯¥È¤Î·¿¤Ç¤¢¤ë¡£ + ÆâÉô¹½Â¤¤Ï¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¥×¥í¥°¥é¥à¤«¤é¤Ï¸«¤¨¤Ê¤¤¡£ */ + typedef struct MTextProperty MTextProperty; /*=*/