From 2b495faba4f15dff0585704973c5c4dfe58b1bb9 Mon Sep 17 00:00:00 2001 From: tomo Date: Fri, 3 Oct 2003 03:40:46 +0000 Subject: [PATCH] - `chise_open_data_source' is renamed to `CHISE_DS_open'. - `chise_ds_close' is renamed to `CHISE_DS_close'. --- sample.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); } -- 1.7.10.4