From: tomo Date: Fri, 5 Jul 2002 03:14:57 +0000 (+0000) Subject: (struct Lisp_Coding_System): Add new member `use_entity_reference' and X-Git-Tag: r21-2-44-utf-2000-0_19-er1-n11~15 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=d2a9b6773e237f50edb7c04073d349ac2ec7e80e;p=chise%2Fxemacs-chise.git.1 (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..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);