From: handa Date: Thu, 29 Mar 2007 11:26:41 +0000 (+0000) Subject: (mface_get_hook, mface_put_hook): Extern them. X-Git-Tag: FLT-base~105 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=5ebe292a39145a079d6045b334b0bb5692e471b8;p=m17n%2Fm17n-lib.git (mface_get_hook, mface_put_hook): Extern them. --- diff --git a/src/m17n-gui.h b/src/m17n-gui.h index 00f21cb..d73b7e0 100644 --- a/src/m17n-gui.h +++ b/src/m17n-gui.h @@ -410,15 +410,11 @@ typedef struct /***en @brief Type of hook function of face. - The type #MFaceHookFunc is to specify the #Mhook property of a - face. The value of the property must be function of this - type. */ + #MFaceHookFunc is a type of a hook function of a face. */ /***ja @brief ¥Õ¥§¡¼¥¹¤Î¥Õ¥Ã¥¯´Ø¿ô¤Î·¿Àë¸À. - #MFaceHookFunc ¤Ï¥Õ¥§¡¼¥¹¤Î #Mhook ¥×¥í¥Ñ¥Æ¥£¤ò»ØÄꤹ¤ë·¿¤Ç¤¢¤ë¡£ - ¤³¤Î¥×¥í¥Ñ¥Æ¥£¤ÎÃͤϡ¢¤³¤Î·¿¤Î´Ø¿ô¤Ç¤Ê¤¯¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£ - */ + #MFaceHookFunc ¤Ï¥Õ¥§¡¼¥¹¤Î¥Õ¥Ã¥¯´Ø¿ô¤Î·¿¤Ç¤¢¤ë¡£*/ typedef void (*MFaceHookFunc) (MFace *face, void *arg, void *info); /*=*/ @@ -426,6 +422,10 @@ extern void *mface_get_prop (MFace *face, MSymbol key); extern int mface_put_prop (MFace *face, MSymbol key, void *val); +extern MFaceHookFunc mface_get_hook (MFace *face); + +extern int mface_put_hook (MFace *face, MFaceHookFunc func); + extern void mface_update (MFrame *frame, MFace *face); /* end of face module */