Set the reserved bit to (1 << 0) instead of (1 << 30).

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).
This commit is contained in:
Anders Carlsson 2001-12-17 21:59:34 +00:00 committed by Anders Carlsson
parent a52e2986cd
commit 82fa2c0069
2 changed files with 6 additions and 1 deletions

View 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.

View 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