changeset 30040:7249274abdec

Add some comments.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 05 Jul 2000 11:39:10 +0000
parents 07f23448b6e5
children b20d72b7aa4b
files src/dispextern.h
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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					\