From: handa Date: Wed, 19 Jul 2006 02:41:17 +0000 (+0000) Subject: * mtext.c (mtext__init): Initialize Mlanguage. X-Git-Tag: REL-1-3-4~113 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=339b0e89039c8118971b86569aae0e988b9cc075;p=m17n%2Fm17n-lib.git * mtext.c (mtext__init): Initialize Mlanguage. (Mlanguage): Declaration moved from locale.c * locale.c (mlocale__init): Don't initialize Mlanguage here. (Mlanguage): Declaration moved to mtext.c. --- diff --git a/src/mtext.c b/src/mtext.c index 0439829..e72dfa6 100644 --- a/src/mtext.c +++ b/src/mtext.c @@ -971,6 +971,7 @@ mtext__init () M17N_OBJECT_ADD_ARRAY (mtext_table, "M-text"); M_charbag = msymbol_as_managing_key (" charbag"); mtext_table.count = 0; + Mlanguage = msymbol ("language"); return 0; } @@ -1585,6 +1586,12 @@ const int MTEXT_FORMAT_UTF_32 = MTEXT_FORMAT_UTF_32LE; /*** @{ */ /*=*/ +/***en The symbol whose name is "language". */ +/***ja "language" ¤È¤¤¤¦Ì¾Á°¤ò»ý¤Ä¥·¥ó¥Ü¥ë. */ +MSymbol Mlanguage; + +/*=*/ + /***en @brief Allocate a new M-text.