From: handa Date: Wed, 17 Aug 2005 11:43:59 +0000 (+0000) Subject: (mtext__prop_init): Initialize text_property_table. X-Git-Tag: REL-1-3-0~284 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a445f022a6754340c7bd83517c444028c272d52e;p=m17n%2Fm17n-lib.git (mtext__prop_init): Initialize text_property_table. Call M17N_OBJECT_ADD_ARRAY. (mtext__prop_fini): Don't call mdebug__report_object. --- diff --git a/src/textprop.c b/src/textprop.c index e5b0e0f..30ca56a 100644 --- a/src/textprop.c +++ b/src/textprop.c @@ -1185,7 +1185,7 @@ dump_textplist (MTextPlist *plist, int indent) int mtext__prop_init () { - text_property_table.count = 0; + M17N_OBJECT_ADD_ARRAY (text_property_table, "Text property"); Mtext_prop_serializer = msymbol ("text-prop-serializer"); Mtext_prop_deserializer = msymbol ("text-prop-deserializer"); return 0; @@ -1203,7 +1203,6 @@ mtext__prop_fini () pool = next; } interval_pool_root.next = NULL; - mdebug__report_object ("Text property", &text_property_table); }