Mercurial > hg > xemacs-beta
diff src/glyphs.h @ 5495:1f0b15040456
Merge.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Sun, 01 May 2011 18:44:03 +0100 |
parents | 308d34e9f07d |
children |
line wrap: on
line diff
--- a/src/glyphs.h Sat Feb 20 06:03:00 2010 -0600 +++ b/src/glyphs.h Sun May 01 18:44:03 2011 +0100 @@ -4,10 +4,10 @@ This file is part of XEmacs. -XEmacs is free software; you can redistribute it and/or modify it +XEmacs is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the -Free Software Foundation; either version 2, or (at your option) any -later version. +Free Software Foundation, either version 3 of the License, or (at your +option) any later version. XEmacs is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or @@ -15,9 +15,7 @@ for more details. You should have received a copy of the GNU General Public License -along with XEmacs; see the file COPYING. If not, write to -the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. */ +along with XEmacs. If not, see <http://www.gnu.org/licenses/>. */ /* Synched up with: Not in FSF. */ @@ -432,7 +430,7 @@ /* Image Instance Object */ /************************************************************************/ -DECLARE_LRECORD (image_instance, Lisp_Image_Instance); +DECLARE_LISP_OBJECT (image_instance, Lisp_Image_Instance); #define XIMAGE_INSTANCE(x) XRECORD (x, image_instance, Lisp_Image_Instance) #define wrap_image_instance(p) wrap_record (p, image_instance) #define IMAGE_INSTANCEP(x) RECORDP (x, image_instance) @@ -596,7 +594,7 @@ struct Lisp_Image_Instance { - struct LCRECORD_HEADER header; + NORMAL_LISP_OBJECT_HEADER header; Lisp_Object domain; /* The domain in which we were cached. */ Lisp_Object device; /* The device of the domain. Recorded since the domain may get deleted @@ -948,7 +946,7 @@ struct Lisp_Glyph { - struct LCRECORD_HEADER header; + NORMAL_LISP_OBJECT_HEADER header; enum glyph_type type; @@ -968,7 +966,7 @@ }; typedef struct Lisp_Glyph Lisp_Glyph; -DECLARE_LRECORD (glyph, Lisp_Glyph); +DECLARE_LISP_OBJECT (glyph, Lisp_Glyph); #define XGLYPH(x) XRECORD (x, glyph, Lisp_Glyph) #define wrap_glyph(p) wrap_record (p, glyph) #define GLYPHP(x) RECORDP (x, glyph) @@ -1010,7 +1008,7 @@ #define MARK_GLYPH_CHANGED(g) (GLYPH_DIRTYP (g) = 1); extern Lisp_Object Qxpm, Qxface, Qetched_in, Qetched_out, Qbevel_in, Qbevel_out; -extern Lisp_Object Q_data, Q_file, Q_color_symbols, Qconst_glyph_variable; +extern Lisp_Object Q_file, Q_color_symbols, Qconst_glyph_variable; extern Lisp_Object Qxbm, Qedit_field, Qgroup, Qlabel, Qcombo_box, Qscrollbar; extern Lisp_Object Qtree_view, Qtab_control, Qprogress_gauge; extern Lisp_Object Q_mask_file, Q_mask_data, Q_hotspot_x, Q_hotspot_y; @@ -1070,7 +1068,7 @@ struct glyph_cachel { #ifdef NEW_GC - struct lrecord_header header; + NORMAL_LISP_OBJECT_HEADER header; #endif /* NEW_GC */ Lisp_Object glyph; @@ -1090,7 +1088,7 @@ #ifdef NEW_GC typedef struct glyph_cachel Lisp_Glyph_Cachel; -DECLARE_LRECORD (glyph_cachel, Lisp_Glyph_Cachel); +DECLARE_LISP_OBJECT (glyph_cachel, Lisp_Glyph_Cachel); #define XGLYPH_CACHEL(x) \ XRECORD (x, glyph_cachel, Lisp_Glyph_Cachel) @@ -1165,7 +1163,7 @@ #ifdef MEMORY_USAGE_STATS int compute_glyph_cachel_usage (glyph_cachel_dynarr *glyph_cachels, - struct overhead_stats *ovstats); + struct usage_stats *ustats); #endif /* MEMORY_USAGE_STATS */ /************************************************************************/ @@ -1198,7 +1196,7 @@ struct expose_ignore { #ifdef NEW_GC - struct lrecord_header header; + NORMAL_LISP_OBJECT_HEADER header; #endif /* NEW_GC */ int x, y; int width, height; @@ -1206,7 +1204,7 @@ }; #ifdef NEW_GC -DECLARE_LRECORD (expose_ignore, struct expose_ignore); +DECLARE_LISP_OBJECT (expose_ignore, struct expose_ignore); #define XEXPOSE_IGNORE(x) XRECORD (x, expose_ignore, struct expose_ignore) #define wrap_expose_ignore(p) wrap_record (p, expose_ignore) #define EXPOSE_IGNOREP(x) RECORDP (x, expose_ignore)