From: tomo Date: Tue, 15 Jan 2002 18:03:53 +0000 (+0000) Subject: (decoding_table_remove_char): Change arguments to hide decoding_table X-Git-Tag: r21-2-44-utf-2000-0_18-n4b~2 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=4f14f955e64fbf24dd2f85fc22c2976c5aad47a0;p=chise%2Fxemacs-chise.git- (decoding_table_remove_char): Change arguments to hide decoding_table vector. (decoding_table_put_char): Likewise. --- diff --git a/src/char-ucs.h b/src/char-ucs.h index d6e8298..efb22a0 100644 --- a/src/char-ucs.h +++ b/src/char-ucs.h @@ -504,12 +504,13 @@ extern Lisp_Object Vcharset_chinese_big5_2; int decoding_table_check_elements (Lisp_Object v, int dim, int ccs_len); INLINE_HEADER void -decoding_table_remove_char (Lisp_Object v, int dim, int byte_offset, - int code_point); +decoding_table_remove_char (Lisp_Object ccs, int code_point); INLINE_HEADER void -decoding_table_remove_char (Lisp_Object v, int dim, int byte_offset, - int code_point) +decoding_table_remove_char (Lisp_Object ccs, int code_point) { + Lisp_Object v = XCHARSET_DECODING_TABLE (ccs); + int dim = XCHARSET_DIMENSION (ccs); + int byte_offset = XCHARSET_BYTE_OFFSET (ccs); int i = -1; while (dim > 0) @@ -528,12 +529,15 @@ decoding_table_remove_char (Lisp_Object v, int dim, int byte_offset, } INLINE_HEADER void -decoding_table_put_char (Lisp_Object v, int dim, int byte_offset, +decoding_table_put_char (Lisp_Object ccs, int code_point, Lisp_Object character); INLINE_HEADER void -decoding_table_put_char (Lisp_Object v, int dim, int byte_offset, +decoding_table_put_char (Lisp_Object ccs, int code_point, Lisp_Object character) { + Lisp_Object v = XCHARSET_DECODING_TABLE (ccs); + int dim = XCHARSET_DIMENSION (ccs); + int byte_offset = XCHARSET_BYTE_OFFSET (ccs); int i = -1; Lisp_Object nv; int ccs_len = XVECTOR_LENGTH (v);