From: handa Date: Wed, 17 Aug 2005 11:35:33 +0000 (+0000) Subject: (mchartable__init): Initalize chartable_table.count. X-Git-Tag: REL-1-3-0~290 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba19186a5cffcfaaf76bc5941390f067b502233e;p=m17n%2Fm17n-lib.git (mchartable__init): Initalize chartable_table.count. (mchartable__fini): Use N17n_OBJECT_ADD_ARRAY instead of mdebug__report_object. --- diff --git a/src/chartab.c b/src/chartab.c index d17f4dc..81380cc 100644 --- a/src/chartab.c +++ b/src/chartab.c @@ -600,14 +600,13 @@ dump_sub_chartab (MSubCharTable *table, void *default_value, int mchartable__init () { - chartable_table.count = 0; + M17N_OBJECT_ADD_ARRAY (chartable_table, "Chartable"); return 0; } void mchartable__fini () { - mdebug__report_object ("Chartable", &chartable_table); } void *