Mercurial > emacs
changeset 22120:90f77c401689
Change terms unify/unification to
translate/translation respectively throughtout the file.
(GET_TRANSLATION_TABLE): Name changed from UNIFICATION_ID_TABLE.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 18 May 1998 00:59:38 +0000 |
parents | 592bb8b9bcfd |
children | 6e79a15594ab |
files | src/charset.h |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/charset.h Mon May 18 00:59:38 1998 +0000 +++ b/src/charset.h Mon May 18 00:59:38 1998 +0000 @@ -791,7 +791,7 @@ extern void invalid_character P_ ((int)); -extern int unify_char P_ ((Lisp_Object, int, int, int, int)); +extern int translate_char P_ ((Lisp_Object, int, int, int, int)); extern int split_non_ascii_string P_ ((const unsigned char *, int, int *, unsigned char *, unsigned char *)); extern int string_to_non_ascii_char P_ ((const unsigned char *, int, int *)); @@ -803,9 +803,11 @@ extern int find_charset_in_str P_ ((unsigned char *, int, int *, Lisp_Object)); extern int strwidth P_ ((unsigned char *, int)); -extern Lisp_Object Vcharacter_unification_table_vector; -#define UNIFICATION_ID_TABLE(id) \ - (XCONS(XVECTOR(Vcharacter_unification_table_vector)->contents[(id)])->cdr) +extern Lisp_Object Vcharacter_translation_table_vector; + +/* Return a character translation table of id number ID. */ +#define GET_TRANSLATION_TABLE(id) \ + (XCONS(XVECTOR(Vcharacter_translation_table_vector)->contents[(id)])->cdr) /* Copy LEN bytes from FROM to TO. This macro should be used only when a caller knows that LEN is short and the obvious copy loop is