Commit 827503c6 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

Add some comments.

parent 212116d6
......@@ -224,7 +224,13 @@ enum glyph_type
/* 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 @@ struct glyph
/* Are glyphs *X and *Y equal? */
/* Are glyphs *X and *Y displayed equal? */
#define GLYPH_EQUAL_P(X, Y) \
((X)->type == (Y)->type \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment