X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2Fmule-charset.h;h=1d73c9798fff72ff5d4a7057c729ba85db62cd06;hp=5e0caa4fe3887a21fa82591b6a46a8ad06d87b41;hb=716cfba952c1dc0d2cf5c968971f3780ba728a89;hpb=b5eeb6918c29470b36f8461c402eb0c65cb19bd2 diff --git a/src/mule-charset.h b/src/mule-charset.h index 5e0caa4..1d73c97 100644 --- a/src/mule-charset.h +++ b/src/mule-charset.h @@ -23,8 +23,8 @@ Boston, MA 02111-1307, USA. */ /* Rewritten by Ben Wing . */ -#ifndef _XEMACS_MULE_CHARSET_H -#define _XEMACS_MULE_CHARSET_H +#ifndef INCLUDED_mule_charset_h_ +#define INCLUDED_mule_charset_h_ /* 1. Character Sets @@ -456,7 +456,10 @@ struct Lisp_Charset int id; Lisp_Object name; - Lisp_Object doc_string, registry, short_name, long_name; + Lisp_Object doc_string; + Lisp_Object registry; + Lisp_Object short_name; + Lisp_Object long_name; Lisp_Object reverse_direction_charset; @@ -489,9 +492,10 @@ struct Lisp_Charset /* Which half of font to be used to display this character set */ unsigned int graphic; }; +typedef struct Lisp_Charset Lisp_Charset; -DECLARE_LRECORD (charset, struct Lisp_Charset); -#define XCHARSET(x) XRECORD (x, charset, struct Lisp_Charset) +DECLARE_LRECORD (charset, Lisp_Charset); +#define XCHARSET(x) XRECORD (x, charset, Lisp_Charset) #define XSETCHARSET(x, p) XSETRECORD (x, p, charset) #define CHARSETP(x) RECORDP (x, charset) #define CHECK_CHARSET(x) CHECK_RECORD (x, charset) @@ -550,7 +554,7 @@ DECLARE_LRECORD (charset, struct Lisp_Charset); struct charset_lookup { /* Table of charsets indexed by leading byte. */ Lisp_Object charset_by_leading_byte[128]; - + /* Table of charsets indexed by type/final-byte/direction. */ Lisp_Object charset_by_attributes[4][128][2]; }; @@ -787,4 +791,4 @@ int copy_internal_to_external (CONST Bufbyte *internal, Bytecount len, Bytecount copy_external_to_internal (CONST unsigned char *external, int len, Bufbyte *internal); -#endif /* _XEMACS_MULE_CHARSET_H */ +#endif /* INCLUDED_mule_charset_h_ */