From: tomo Date: Mon, 8 Jul 2002 08:19:47 +0000 (+0000) Subject: (struct Lisp_Coding_System): Add new member `use_entity_reference' and X-Git-Tag: r21-2-44-0_18-m12~10 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=1739d6e3ed74a6f78cb6e2a10b09e83ede700ca3;p=chise%2Fxemacs-chise.git (struct Lisp_Coding_System): Add new member `use_entity_reference' and `ccs_priority_list'. (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro. (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro. (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro. --- diff --git a/src/file-coding.h b/src/file-coding.h index 0eacb92..8b0f997 100644 --- a/src/file-coding.h +++ b/src/file-coding.h @@ -1,6 +1,7 @@ /* Header for code conversion stuff Copyright (C) 1991, 1995 Free Software Foundation, Inc. Copyright (C) 1995 Sun Microsystems, Inc. + Copyright (C) 1999,2000,2002 MORIOKA Tomohiko This file is part of XEmacs. @@ -139,7 +140,9 @@ struct Lisp_Coding_System } ccl; #endif #ifdef UTF2000 - char disable_composition; + unsigned int disable_composition :1; + unsigned int use_entity_reference :1; + Lisp_Object ccs_priority_list; #endif }; typedef struct Lisp_Coding_System Lisp_Coding_System; @@ -187,6 +190,10 @@ DECLARE_LRECORD (coding_system, Lisp_Coding_System); #ifdef UTF2000 #define CODING_SYSTEM_DISABLE_COMPOSITION(codesys) \ ((codesys)->disable_composition) +#define CODING_SYSTEM_USE_ENTITY_REFERENCE(codesys) \ + ((codesys)->use_entity_reference) +#define CODING_SYSTEM_CCS_PRIORITY_LIST(codesys) \ + ((codesys)->ccs_priority_list) #endif #define XCODING_SYSTEM_NAME(codesys) \ @@ -237,6 +244,8 @@ DECLARE_LRECORD (coding_system, Lisp_Coding_System); #ifdef UTF2000 #define XCODING_SYSTEM_DISABLE_COMPOSITION(codesys) \ CODING_SYSTEM_DISABLE_COMPOSITION (XCODING_SYSTEM (codesys)) +#define XCODING_SYSTEM_USE_ENTITY_REFERENCE(codesys) \ + CODING_SYSTEM_USE_ENTITY_REFERENCE (XCODING_SYSTEM (codesys)) #endif EXFUN (Fcoding_category_list, 0);