* database.c: Include m17n-core.h instead of m17n.h.
authorhanda <handa>
Fri, 12 Oct 2007 05:14:21 +0000 (05:14 +0000)
committerhanda <handa>
Fri, 12 Oct 2007 05:14:21 +0000 (05:14 +0000)
commit0b63db892ae553f05102d35e218ad5ea38d616d6
treee4b3f41c70bbbc61a3ae55741eb372308a1566d1
parent2026847d87a58a6932818584a75b47c6f3fafa94
* database.c: Include m17n-core.h instead of m17n.h.
(load_chartable): Use mtext__from_data.
(load_charset): Moved to charset.c
(load_database): Call mdatabase__load_charset_func instead of
load_charset.
(mdatabase__load_charset_func): New variable.
(mdatabase__init): Initialize mdatabase__load_charset_func and
Mcharset.  Don't set mdatabase__finder and mdatabase__loader.
(mdatabase__save): Use fwrite, not mconv_encode_stream.
(Mcharset): Declare it here.
src/database.c