158 |
#define CHAR_WIDTH(c) \ |
#define CHAR_WIDTH(c) \ |
159 |
(SINGLE_BYTE_CHAR_P (c) ? 1 : CHARSET_WIDTH (CHAR_CHARSET (c))) |
(SINGLE_BYTE_CHAR_P (c) ? 1 : CHARSET_WIDTH (CHAR_CHARSET (c))) |
160 |
|
|
|
/* The following macros for hash table are copied from fns.c. */ |
|
|
/* Value is the key part of entry IDX in hash table H. */ |
|
|
#define HASH_KEY(H, IDX) AREF ((H)->key_and_value, 2 * (IDX)) |
|
|
/* Value is the value part of entry IDX in hash table H. */ |
|
|
#define HASH_VALUE(H, IDX) AREF ((H)->key_and_value, 2 * (IDX) + 1) |
|
|
|
|
161 |
/* Return COMPOSITION-ID of a composition at buffer position |
/* Return COMPOSITION-ID of a composition at buffer position |
162 |
CHARPOS/BYTEPOS and length NCHARS. The `composition' property of |
CHARPOS/BYTEPOS and length NCHARS. The `composition' property of |
163 |
the sequence is PROP. STRING, if non-nil, is a string that |
the sequence is PROP. STRING, if non-nil, is a string that |