From: nisikimi Date: Tue, 3 Apr 2007 00:45:19 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: FLT-base~91 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=a4fdc9a1f2306ab564abac4aca19a72c0826b0e6;p=m17n%2Fm17n-lib.git *** empty log message *** --- diff --git a/src/face.c b/src/face.c index fc950ae..5185d0f 100644 --- a/src/face.c +++ b/src/face.c @@ -1858,6 +1858,11 @@ mface_get_prop (MFace *face, MSymbol key) The mface_get_hook () function returns the hook function of face $FACE. */ +/***ja + @brief ¥Õ¥§¡¼¥¹¤Î¥Õ¥Ã¥¯´Ø¿ô¤òÆÀ¤ë. + + ´Ø¿ô mface_get_hook () ¤Ï¥Õ¥§¡¼¥¹ $FACE ¤Î¥Õ¥Ã¥¯´Ø¿ô¤òÊÖ¤¹¡£ */ + MFaceHookFunc mface_get_hook (MFace *face) { @@ -1968,6 +1973,12 @@ mface_put_prop (MFace *face, MSymbol key, void *val) The mface_set_hook () function sets the hook function of face $FACE to $FUNC. */ +/***ja + @brief ¥Õ¥§¡¼¥¹¤Î¥Õ¥Ã¥¯´Ø¿ô¤òÀßÄꤹ¤ë. + + ´Ø¿ô mface_set_hook () ¤Ï¡¢¥Õ¥§¡¼¥¹ $FACE ¤Î¥Õ¥Ã¥¯´Ø¿ô¤ò$FUNC ¤ËÀß + Äꤹ¤ë¡£ */ + int mface_put_hook (MFace *face, MFaceHookFunc func) { diff --git a/src/m17n-core.h b/src/m17n-core.h index 178f4d1..e794d8a 100644 --- a/src/m17n-core.h +++ b/src/m17n-core.h @@ -129,6 +129,13 @@ extern int m17n_object_unref (void *object); #M17NFunc is a generic function type for setting a function pointer as a value of #MSymbol property or #MPlist. */ +/***en + @brief ÈÆ´Ø¿ô·¿. + + #M17NFunc ¤ÏÈÆ´Ø¿ô·¿¤Ç¤¢¤ê¡¢´Ø¿ô¥Ý¥¤¥ó¥¿¤ò #MSymbol ¥×¥í¥Ñ¥Æ¥£¤ä + #MPlist ¤ÎÃͤȤ·¤ÆÀßÄꤹ¤ëºÝÍѤ¤¤ë¡£ */ + + /*** @seealso msymbol_put_func (), msymbol_get_func (), @@ -144,6 +151,12 @@ typedef void (*M17NFunc) (void); The macro M17N_FUNC () casts a function to the type #M17NFunc. */ +/***ja + @brief ÈÆ´Ø¿ô·¿¤Ø¤Î¥é¥Ã¥Ñ. + + ¥Þ¥¯¥í M17N_FUNC () ¤Ï´Ø¿ô¤ò #M17NFunc ·¿¤Ø¥­¥ã¥¹¥È¤¹¤ë¡£ */ + + #define M17N_FUNC(func) ((M17NFunc) (func)) /*=*/ diff --git a/src/plist.c b/src/plist.c index 321d5a5..aae8717 100644 --- a/src/plist.c +++ b/src/plist.c @@ -1208,6 +1208,14 @@ mplist_get (MPlist *plist, MSymbol key) setting function pointer $FUNC in property list $PLIST for key $KEY. */ +/***ja + @brief ¥×¥í¥Ñ¥Æ¥£¥ê¥¹¥ÈÃæ¤Î¥×¥í¥Ñ¥Æ¥£¤Ë´Ø¿ô¥Ý¥¤¥ó¥¿¤Ç¤¢¤ëÃͤòÀßÄꤹ¤ë. + + ´Ø¿ô mplist_put_func () ¤Ï´Ø¿ô mplist_put () ƱÍÍ¡¢¥×¥í¥Ñ¥Æ¥£¥ê¥¹¥È $PLIST + Ãæ¤Ç¥­¡¼¤¬ $KEY ¤Ç¤¢¤ë¥×¥í¥Ñ¥Æ¥£¤ËÃͤòÀßÄꤹ¤ë¡£Ã¢¤·¤½¤ÎÃͤϴؿô¥Ý¥¤¥ó¥¿ + $FUNC ¤Ç¤¢¤ë¡£ */ + + /*** @seealso mplist_put (), M17N_FUNC () */ @@ -1241,6 +1249,14 @@ mplist_put_func (MPlist *plist, MSymbol key, M17NFunc func) The mplist_get_func () function is similar to mplist_get () but for getting a function pointer from property list $PLIST by key $KEY. */ +/***ja + @brief ¥×¥í¥Ñ¥Æ¥£¥ê¥¹¥È¤«¤é¥×¥í¥Ñ¥Æ¥£¤Î´Ø¿ô¥Ý¥¤¥ó¥¿¤Ç¤¢¤ëÃͤòÆÀ¤ë. + + ´Ø¿ô mplist_get_func () ¤Ï´Ø¿ô mplist_get () ¤ÈƱÍͤˡ¢¥×¥í¥Ñ¥Æ¥£¥ê + ¥¹¥È $PLIST Ãæ¤Ç¥­¡¼¤¬ $KEY ¤Ç¤¢¤ë¥×¥í¥Ñ¥Æ¥£¤ÎÃÍ¡¢Ã¢¤·´Ø¿ô¥Ý¥¤¥ó¥¿¡¢ + ¤òÆÀ¤ë¡£ */ + + /*** @seealso mplist_get () */ diff --git a/src/symbol.c b/src/symbol.c index 8f45606..c3bf5c8 100644 --- a/src/symbol.c +++ b/src/symbol.c @@ -668,6 +668,13 @@ msymbol_get (MSymbol symbol, MSymbol key) setting function pointer $FUNC as the property value of $SYMBOL for key $KEY. */ +/***ja + @brief ¥·¥ó¥Ü¥ë¥×¥í¥Ñ¥Æ¥£¤ÎÃÍ(´Ø¿ô¥Ý¥¤¥ó¥¿)¤òÀßÄꤹ¤ë. + + ´Ø¿ô msymbol_put_func () ¤Ï¡¢´Ø¿ô msymbol_put () ¤ÈƱÍͤˡ¢¥·¥ó¥Ü¥ë + $SYMBOL ¤Î¥­¡¼¤¬ $KEY ¤Ç¤¢¤ë¥·¥ó¥Ü¥ë¥×¥í¥Ñ¥Æ¥£¤ÎÃͤòÀßÄꤹ¤ë¡£Ã¢¤· + ¤½¤ÎÃͤϴؿô¥Ý¥¤¥ó¥¿ $FUNC ¤Ç¤¢¤ë¡£ */ + /*** @seealso msymbol_put (), M17N_FUNC () */ int @@ -687,6 +694,13 @@ msymbol_put_func (MSymbol symbol, MSymbol key, M17NFunc func) The msymbol_get_func () function is similar to msymbol_get () but for getting a function pointer form the property of symbol $SYMBOL. */ +/***ja + @brief ¥·¥ó¥Ü¥ë¥×¥í¥Ñ¥Æ¥£¤ÎÃÍ (´Ø¿ô¥Ý¥¤¥ó¥¿) ¤òÆÀ¤ë. + + ´Ø¿ô msymbol_get_func () ¤Ï¡¢´Ø¿ô msymbol_get () ¤ÈƱÍͤˡ¢¥·¥ó¥Ü¥ë + $SYMBOL ¤¬»ý¤Ä¥·¥ó¥Ü¥ë¥×¥í¥Ñ¥Æ¥£¤Î¤¦¤Á¡¢¥­¡¼¤¬ $KEY ¤Ç¤¢¤ë¤â¤Î¤òÆÀ¤ë¡£Ã¢¤· + ¤½¤ÎÃͤϴؿô¥Ý¥¤¥ó¥¿¤ò¤Ç¤¢¤ë¡£ */ + /*** @seealso msymbol_get () */