diff src/rangetab.h @ 412:697ef44129c6 r21-2-14

Import from CVS: tag r21-2-14
author cvs
date Mon, 13 Aug 2007 11:20:41 +0200
parents 74fd4e045ea6
children 11054d720c21
line wrap: on
line diff
--- a/src/rangetab.h	Mon Aug 13 11:19:22 2007 +0200
+++ b/src/rangetab.h	Mon Aug 13 11:20:41 2007 +0200
@@ -23,8 +23,8 @@
 
 /* Extracted from rangetab.c by O. Galibert, 1998. */
 
-#ifndef INCLUDED_rangetab_h_
-#define INCLUDED_rangetab_h_
+#ifndef _XEMACS_RANGETAB_H_
+#define _XEMACS_RANGETAB_H_
 
 typedef struct range_table_entry range_table_entry;
 struct range_table_entry
@@ -44,12 +44,13 @@
   struct lcrecord_header header;
   range_table_entry_dynarr *entries;
 };
-typedef struct Lisp_Range_Table Lisp_Range_Table;
 
-DECLARE_LRECORD (range_table, Lisp_Range_Table);
-#define XRANGE_TABLE(x) XRECORD (x, range_table, Lisp_Range_Table)
+DECLARE_LRECORD (range_table, struct Lisp_Range_Table);
+#define XRANGE_TABLE(x) \
+  XRECORD (x, range_table, struct Lisp_Range_Table)
 #define XSETRANGE_TABLE(x, p) XSETRECORD (x, p, range_table)
 #define RANGE_TABLEP(x) RECORDP (x, range_table)
+#define GC_RANGE_TABLEP(x) GC_RECORDP (x, range_table)
 #define CHECK_RANGE_TABLE(x) CHECK_RECORD (x, range_table)
 
-#endif /* INCLUDED_rangetab_h_ */
+#endif