Mercurial > emacs
annotate src/s/isc4-0.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 | 4e472b8b55c5 |
children | 4406a040b043 |
rev | line source |
---|---|
6777 | 1 #include "isc3-0.h" |
2 | |
9548
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
3 #undef LIBS_SYSTEM |
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
4 #define LIBS_SYSTEM -linet -lcposix |
7325
bfbebc2a04c9
(NEED_SIOCTL, ISC4_0): Declared.
Richard M. Stallman <rms@gnu.org>
parents:
6880
diff
changeset
|
5 |
bfbebc2a04c9
(NEED_SIOCTL, ISC4_0): Declared.
Richard M. Stallman <rms@gnu.org>
parents:
6880
diff
changeset
|
6 #define ISC4_0 |
8284
f21e11ac80bb
[__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
7577
diff
changeset
|
7 |
f21e11ac80bb
[__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
7577
diff
changeset
|
8 /* fmcphers@csugrad.cs.vt.edu reported this was necessary. |
f21e11ac80bb
[__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
7577
diff
changeset
|
9 He used GCC. I don't know what is needed with other compilers. */ |
f21e11ac80bb
[__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
7577
diff
changeset
|
10 #ifdef __GNUC__ |
f21e11ac80bb
[__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
7577
diff
changeset
|
11 #undef LIBX11_SYSTEM |
f21e11ac80bb
[__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
7577
diff
changeset
|
12 #define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lcposix -lc |
f21e11ac80bb
[__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
7577
diff
changeset
|
13 #endif |
9548
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
14 |
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
15 /* Tobias Herbert <herbert@clipper.ikp.physik.th-darmstadt.de> |
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
16 says this is needed. */ |
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
17 |
12754
8ba3a8c5dc43
(sigblock, SIG_BLOCK): Don't define them if POSIX_SIGNALS.
Richard M. Stallman <rms@gnu.org>
parents:
9548
diff
changeset
|
18 #ifndef POSIX_SIGNALS |
9548
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
19 #ifndef sigblock |
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
20 #ifndef SIG_BLOCK |
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
21 #define SIG_BLOCK 0 |
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
22 #endif |
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
23 #define sigblock(sig) (sigprocmask (SIG_BLOCK, SIGEMPTYMASK | sig, NULL)) |
6c1db50b798d
(LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents:
8530
diff
changeset
|
24 #endif |
12754
8ba3a8c5dc43
(sigblock, SIG_BLOCK): Don't define them if POSIX_SIGNALS.
Richard M. Stallman <rms@gnu.org>
parents:
9548
diff
changeset
|
25 #endif /* not POSIX_SIGNALS */ |