From: handa Date: Wed, 17 Aug 2005 11:33:23 +0000 (+0000) Subject: * symbol.h (msymbol__free_table): Extern it. X-Git-Tag: REL-1-3-0~292 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=9cd8709310f424b17720cbee81adb69fb6386cea;p=m17n%2Fm17n-lib.git * symbol.h (msymbol__free_table): Extern it. (msymbol__list): Extern it. * m17n-core.c: Include "symbol.h". (report_header_printed): This variable deleted. (object_array_root): New variable. (report_object_array): New function. (mdebug__report_object): This function deleted. (mdebug__add_object_array): New function. (m17n_init_core): Call mchartable_init () before mtext_init (). (m17n_fini_core): Call report_object_array (if necessary) and msymbol__free_atable at the end. --- diff --git a/src/symbol.h b/src/symbol.h index 7d98fa6..cb4a7f2 100644 --- a/src/symbol.h +++ b/src/symbol.h @@ -46,8 +46,12 @@ struct MSymbolStruct #define MSYMBOL_NAME(sym) ((sym)->name) #define MSYMBOL_NAMELEN(sym) ((sym)->length - 1) +extern void msymbol__free_table (); + extern MSymbol msymbol__with_len (const char *name, int len); +extern MPlist *msymbol__list (MSymbol prop); + extern MSymbol msymbol__canonicalize (MSymbol sym); extern MTextPropSerializeFunc msymbol__serializer;