Set the reserved bit to (1 << 0) instead of (1 << 30).
authorAnders Carlsson <andersca@gnu.org>
Mon, 17 Dec 2001 21:59:34 +0000 (21:59 +0000)
committerAnders Carlsson <andersca@src.gnome.org>
Mon, 17 Dec 2001 21:59:34 +0000 (21:59 +0000)
2001-12-17  Anders Carlsson  <andersca@gnu.org>

* gtype.h (G_TYPE_FLAG_RESERVED_ID_BIT): Set the reserved bit
to (1 << 0) instead of (1 << 30).

gobject/ChangeLog
gobject/gtype.h

index f8acf1f..40cd874 100644 (file)
@@ -1,3 +1,8 @@
+2001-12-17  Anders Carlsson  <andersca@gnu.org>
+
+       * gtype.h (G_TYPE_FLAG_RESERVED_ID_BIT): Set the reserved bit
+       to (1 << 0) instead of (1 << 30). 
+
 2001-12-14  James Henstridge  <james@daa.com.au>
 
        * Makefile.am: add rules to build it.
index c743a42..77e3e5e 100644 (file)
@@ -372,7 +372,7 @@ G_CONST_RETURN gchar* g_type_name_from_class        (GTypeClass     *g_class);
 #  define _G_TYPE_CIT(ip, gt)             (g_type_check_instance_is_a ((GTypeInstance*) ip, gt))
 #  define _G_TYPE_CCT(cp, gt)             (g_type_check_class_is_a ((GTypeClass*) cp, gt))
 #endif /* !__GNUC__ */
-#define        G_TYPE_FLAG_RESERVED_ID_BIT     (1 << 30)
+#define        G_TYPE_FLAG_RESERVED_ID_BIT     (1 << 0)
 extern GTypeDebugFlags                 _g_type_debug_flags;
 
 G_END_DECLS