Mercurial > emacs
annotate src/chpdef.h @ 25506:ba0ad349e792
(SPLIT_COMPOSITE_SEQ): New macro.
(SPLIT_CHARACTER_SEQ): New macro.
(SPLIT_MULTIBYTE_SEQ): New macro.
(CHAR_COMPONENT_VALID_P): New macro.
(non_ascii_char_to_string): Generate a multibyte sequence as far
as possible.
(string_to_non_ascii_char): The 4th arg exclude_tail_garbage is
deleted. Caller changed. Use the macro SPLIT_MULTIBYTE_SEQ.
(split_non_ascii_string): Likewise.
(multibyte_form_length): Use the macro PARSE_MULTIBYTE_SEQ.
(char_printable_p): New function.
(translate_char): Check character by NATNUMP instead of INTEGERP.
(unibyte_char_to_multibyte): Call char_valid_p instead of
VALID_MULTIBYTE_CHAR_P.
(Fmake_char_internal): Check the arguments more rigidly.
(Fcharset_after): Use the macro SPLIT_MULTIBYTE_SEQ.
(char_valid_p): Check the validity by CHAR_COMPONENT_VALID_P.
(Fmultibyte_char_to_unibyte): Check the validity of character by
CHAR_VALID_P.
(chars_in_text): Call multibyte_chars_in_text.
(multibyte_chars_in_text): Use the macro PARSE_MULTIBYTE_SEQ.
(Fcompose_string): Use the macro STRING_CHAR_AND_LENGTH instead of
STRING_CHAR_AND_CHAR_LENGTH (which is obsolete now).
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 03 Sep 1999 01:28:42 +0000 |
parents | 3165b2697c78 |
children | 695cf19ef79e |
rev | line source |
---|---|
484 | 1 #define CHP$_END 0 |
2 #define CHP$_ACCESS 1 | |
3 #define CHP$_FLAGS 2 | |
4 #define CHP$_PRIV 3 | |
5 #define CHP$_ACMODE 4 | |
6 #define CHP$_ACCLASS 5 | |
7 #define CHP$_RIGHTS 6 | |
8 #define CHP$_ADDRIGHTS 7 | |
9 #define CHP$_MODE 8 | |
10 #define CHP$_MODES 9 | |
11 #define CHP$_MINCLASS 10 | |
12 #define CHP$_MAXCLASS 11 | |
13 #define CHP$_OWNER 12 | |
14 #define CHP$_PROT 13 | |
15 #define CHP$_ACL 14 | |
16 #define CHP$_AUDITNAME 15 | |
17 #define CHP$_ALARMNAME 16 | |
18 #define CHP$_MATCHEDACE 17 | |
19 #define CHP$_PRIVUSED 18 | |
20 #define CHP$_MAX_CODE 19 | |
21 #define CHP$M_SYSPRV 1 | |
22 #define CHP$M_BYPASS 2 | |
23 #define CHP$M_UPGRADE 4 | |
24 #define CHP$M_DOWNGRADE 8 | |
25 #define CHP$M_GRPPRV 16 | |
26 #define CHP$M_READALL 32 | |
27 #define CHP$V_SYSPRV 0 | |
28 #define CHP$V_BYPASS 1 | |
29 #define CHP$V_UPGRADE 2 | |
30 #define CHP$V_DOWNGRADE 3 | |
31 #define CHP$V_GRPPRV 4 | |
32 #define CHP$V_READALL 5 | |
33 #define CHP$M_READ 1 | |
34 #define CHP$M_WRITE 2 | |
35 #define CHP$M_USEREADALL 4 | |
36 #define CHP$V_READ 0 | |
37 #define CHP$V_WRITE 1 | |
38 #define CHP$V_USEREADALL 2 |