From: tomo Date: Fri, 24 Jun 2005 17:51:08 +0000 (+0000) Subject: (char_table_get_db): Use `read_from_c_string'. X-Git-Tag: r21-4-15-chise-0_22-1^2~50 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=bebc098d6dc64fd5259cb1ae915ce27112d9a811;p=chise%2Fxemacs-chise.git- (char_table_get_db): Use `read_from_c_string'. --- diff --git a/src/chartab.c b/src/chartab.c index 1504706..4b5b82c 100644 --- a/src/chartab.c +++ b/src/chartab.c @@ -3648,6 +3648,10 @@ open_chise_data_source_maybe () 0 /* DB_HASH */, modemask); if (default_chise_data_source == NULL) return -1; +#if 0 + chise_ds_set_make_string_function (default_chise_data_source, + &make_string); +#endif } return 0; } @@ -3723,8 +3727,13 @@ char_table_get_db (Lisp_Char_Table* cit, Emchar ch) if (!status) { +#if 0 val = Fread (make_string (chise_value_data (&value), chise_value_size (&value) )); +#else + val = read_from_c_string (chise_value_data (&value), + chise_value_size (&value) ); +#endif } else val = Qunbound;