From: tomo Date: Fri, 3 Oct 2003 03:40:46 +0000 (+0000) Subject: - `chise_open_data_source' is renamed to `CHISE_DS_open'. X-Git-Tag: b1-r0_2_0-pre6~1 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b495faba4f15dff0585704973c5c4dfe58b1bb9;p=chise%2Flibchise.git - `chise_open_data_source' is renamed to `CHISE_DS_open'. - `chise_ds_close' is renamed to `CHISE_DS_close'. --- diff --git a/sample.c b/sample.c index 179c021..c5f6abc 100644 --- a/sample.c +++ b/sample.c @@ -37,8 +37,8 @@ main (int argc, char* argv[]) unsigned char buf[1024]; /* open a data-source */ - ds = chise_open_data_source (CHISE_DS_Berkeley_DB, db_dir, - real_subtype, modemask); + ds = CHISE_DS_open (CHISE_DS_Berkeley_DB, db_dir, + real_subtype, modemask); if (ds == NULL) { printf ("Can't open data source\n"); @@ -56,7 +56,7 @@ main (int argc, char* argv[]) if (ccs_daikanwa == NULL) { printf ("Can't open CCS =daikanwa\n"); - chise_ds_close (ds); + CHISE_DS_close (ds); return -1; } @@ -78,5 +78,5 @@ main (int argc, char* argv[]) chise_char_feature_value_iterate (ft_ideographic_structure, &test_map_func); /* close the data-source */ - chise_ds_close (ds); + CHISE_DS_close (ds); }