Mercurial > emacs
changeset 91274:4afd897cd60b
(LGLYPH_SIZE): New macro.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Tue, 25 Dec 2007 10:36:32 +0000 |
parents | f19e3a3100e2 |
children | fa5abdf36ff0 |
files | src/font.h |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/font.h Tue Dec 25 10:36:06 2007 +0000 +++ b/src/font.h Tue Dec 25 10:36:32 2007 +0000 @@ -277,6 +277,8 @@ #define LGSTRING_GLYPH(lgs, idx) AREF ((lgs), (idx) + 1) #define LGSTRING_SET_GLYPH(lgs, idx, val) ASET ((lgs), (idx) + 1, (val)) +/* Vector size of Lispy glyph. */ +#define LGLYPH_SIZE 10 #define LGLYPH_FROM(g) XINT (AREF ((g), 0)) #define LGLYPH_TO(g) XINT (AREF ((g), 1)) #define LGLYPH_CHAR(g) XINT (AREF ((g), 2))