Mercurial > emacs
comparison src/disptab.h @ 46370:40db0673e6f0
Most uses of XSTRING combined with STRING_BYTES or indirection changed to
SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references
left unchanged for now.
author | Ken Raeburn <raeburn@raeburn.org> |
---|---|
date | Mon, 15 Jul 2002 00:00:41 +0000 |
parents | 51fb1f36e614 |
children | 695cf19ef79e d7ddb3e565de |
comparison
equal
deleted
inserted
replaced
46369:dd1d3b1d0053 | 46370:40db0673e6f0 |
---|---|
88 } while (0) | 88 } while (0) |
89 | 89 |
90 /* Assuming that GLYPH_SIMPLE_P (BASE, LEN, G) is 0, | 90 /* Assuming that GLYPH_SIMPLE_P (BASE, LEN, G) is 0, |
91 return the length and the address of the character-sequence | 91 return the length and the address of the character-sequence |
92 used for outputting GLYPH G. */ | 92 used for outputting GLYPH G. */ |
93 #define GLYPH_LENGTH(base,g) XSTRING (base[g])->size | 93 #define GLYPH_LENGTH(base,g) SCHARS (base[g]) |
94 #define GLYPH_STRING(base,g) XSTRING (base[g])->data | 94 #define GLYPH_STRING(base,g) SDATA (base[g]) |
95 | 95 |
96 /* GLYPH for a space character. */ | 96 /* GLYPH for a space character. */ |
97 | 97 |
98 #define SPACEGLYPH 040 | 98 #define SPACEGLYPH 040 |
99 #define NULL_GLYPH 00 | 99 #define NULL_GLYPH 00 |