From 5ebe292a39145a079d6045b334b0bb5692e471b8 Mon Sep 17 00:00:00 2001 From: handa Date: Thu, 29 Mar 2007 11:26:41 +0000 Subject: [PATCH] (mface_get_hook, mface_put_hook): Extern them. --- src/m17n-gui.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 */ -- 1.7.10.4