Kouhei Sutou
kous****@users*****
2006年 11月 28日 (火) 16:14:40 JST
Index: tomoe/lib/tomoe-recognizer-impl.h diff -u tomoe/lib/tomoe-recognizer-impl.h:1.10 tomoe/lib/tomoe-recognizer-impl.h:1.11 --- tomoe/lib/tomoe-recognizer-impl.h:1.10 Tue Nov 28 16:12:03 2006 +++ tomoe/lib/tomoe-recognizer-impl.h Tue Nov 28 16:14:40 2006 @@ -17,7 +17,7 @@ * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307 USA * - * $Id: tomoe-recognizer-impl.h,v 1.10 2006/11/28 07:12:03 kous Exp $ + * $Id: tomoe-recognizer-impl.h,v 1.11 2006/11/28 07:14:40 kous Exp $ */ /** @@ -35,9 +35,9 @@ #include "tomoe-dict.h" #include "tomoe-writing.h" -typedef void *(*TomoeRecognizerNewFunc) (void); -typedef void (*TomoeRecognizerFreeFunc) (void *recognizer); -typedef GList *(*TomoeRecognizerSearchFunc) (void *recognizer, +typedef gpointer (*TomoeRecognizerNewFunc) (void); +typedef void (*TomoeRecognizerFreeFunc) (gpointer context); +typedef GList *(*TomoeRecognizerSearchFunc) (gpointer context, TomoeDict *dict, TomoeWriting *input); @@ -46,9 +46,9 @@ #define TOMOE_RECOGNIZER_IMPL_SEARCH tomoe_recognizer_impl_search -void *TOMOE_RECOGNIZER_IMPL_NEW (void); -void TOMOE_RECOGNIZER_IMPL_FREE (void *context); -GList *TOMOE_RECOGNIZER_IMPL_SEARCH (void *context, +gpointer TOMOE_RECOGNIZER_IMPL_NEW (void); +void TOMOE_RECOGNIZER_IMPL_FREE (gpointer context); +GList *TOMOE_RECOGNIZER_IMPL_SEARCH (gpointer context, TomoeDict *dict, TomoeWriting *input);