annotate src/bitmaps/rtptr.xbm @ 28473:975fe3d8922e
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
(RE_MULTIBYTE_P, RE_STRING_CHAR_AND_LENGTH): New macros.
(GET_CHAR_BEFORE_2): Moved from charset.h plus fixed minor bug when
we are between str1 and str2.
(MAX_MULTIBYTE_LENGTH, CHAR_STRING) [!emacs]: Provide trivial default.
(PATFETCH): Use `TRANSLATE'.
(PATFETCH_RAW): Fetch multibyte char if applicable.
(PATUNFETCH): Remove.
(regex_compile): Rely on PATFETCH to do most of the multibyte magic.
When writing a char, write it directly into the pattern buffer rather
than going needlessly through a temp char-array.
(re_match_2_internal): Similarly, rely on RE_STRING_CHAR to do the
multibyte magic and remove the useless `#ifdef emacs'.
(bcmp_translate): Don't compare as multibyte chars when in a unibyte
buffer.
* regex.h (struct re_pattern_buffer): Make field `multibyte'
conditional on `emacs'.
* charset.h (GET_CHAR_BEFORE_2): Moved to regex.c.
| author |
Stefan Monnier <monnier@iro.umontreal.ca> |
| date |
Sun, 02 Apr 2000 23:56:46 +0000 |
| parents |
8f14d08e19f7 |
| children |
|
| rev |
line source |
|
25830
|
1 #define right_ptr_width 16
|
|
|
2 #define right_ptr_height 16
|
|
|
3 #define right_ptr_x_hot 12
|
|
|
4 #define right_ptr_y_hot 1
|
|
|
5 static unsigned char right_ptr_bits[] = {
|
|
|
6 0x00, 0x00, 0x00, 0x10, 0x00, 0x18, 0x00, 0x1c, 0x00, 0x1e, 0x00, 0x1f,
|
|
|
7 0x80, 0x1f, 0xc0, 0x1f, 0xe0, 0x1f, 0x00, 0x1f, 0x00, 0x1b, 0x80, 0x11,
|
|
|
8 0x80, 0x01, 0xc0, 0x00, 0xc0, 0x00, 0x00, 0x00};
|