From d2a9b6773e237f50edb7c04073d349ac2ec7e80e Mon Sep 17 00:00:00 2001 From: tomo Date: Fri, 5 Jul 2002 03:14:57 +0000 Subject: [PATCH] (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. --- src/file-coding.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/file-coding.h b/src/file-coding.h index 0eacb92..f0714bd 100644 --- a/src/file-coding.h +++ b/src/file-coding.h @@ -139,7 +139,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 +189,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 +243,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); -- 1.7.10.4