From: handa Date: Thu, 29 Mar 2007 11:28:00 +0000 (+0000) Subject: (mlang__init): Use msymbol_put_func. X-Git-Tag: FLT-base~103 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=5a95579af938afd62782657262ee72c8315b420f;p=m17n%2Fm17n-lib.git (mlang__init): Use msymbol_put_func. --- diff --git a/src/language.c b/src/language.c index 4570d76..8eb389b 100644 --- a/src/language.c +++ b/src/language.c @@ -94,10 +94,10 @@ init_script_list (void) int mlang__init () { - msymbol_put (Mlanguage, Mtext_prop_serializer, - (void *) msymbol__serializer); - msymbol_put (Mlanguage, Mtext_prop_deserializer, - (void *) msymbol__deserializer); + msymbol_put_func (Mlanguage, Mtext_prop_serializer, + M17N_FUNC (msymbol__serializer)); + msymbol_put_func (Mlanguage, Mtext_prop_deserializer, + M17N_FUNC (msymbol__deserializer)); Miso639_2 = msymbol ("iso639-2"); Miso639_1 = msymbol ("iso639-1");