# HG changeset patch # User Gerd Moellmann # Date 962797150 0 # Node ID 7249274abdec192473b4ee98ebd3ab90b9cc3299 # Parent 07f23448b6e57d8a19ed27ccb3d704ed48b65a52 Add some comments. diff -r 07f23448b6e5 -r 7249274abdec src/dispextern.h --- a/src/dispextern.h Wed Jul 05 11:38:42 2000 +0000 +++ b/src/dispextern.h Wed Jul 05 11:39:10 2000 +0000 @@ -224,7 +224,13 @@ }; -/* Glyphs. */ +/* Glyphs. + + Be extra careful when changing this structure! Esp. make sure that + functions producing glyphs, like x_append_glyph, fill ALL of the + glyph structure, and that GLYPH_EQUAL_P compares all + display-relevant members of glyphs (not to imply that these are the + only things to check when you add a member). */ struct glyph { @@ -324,7 +330,7 @@ #define CHAR_GLYPH_SPACE_P(GLYPH) \ (GLYPH_FROM_CHAR_GLYPH ((GLYPH)) == SPACEGLYPH) -/* Are glyphs *X and *Y equal? */ +/* Are glyphs *X and *Y displayed equal? */ #define GLYPH_EQUAL_P(X, Y) \ ((X)->type == (Y)->type \