mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 22:16:16 +01:00
patch from sven to fixup G_ENUM_CLASS_TYPE() macro.
Sat Feb 17 07:58:46 2001 Tim Janik <timj@gtk.org> * genums.h (G_TYPE_IS_FLAGS): patch from sven to fixup G_ENUM_CLASS_TYPE() macro.
This commit is contained in:
parent
d28267f124
commit
9c830a7da5
@ -1,3 +1,8 @@
|
||||
Sat Feb 17 07:58:46 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* genums.h (G_TYPE_IS_FLAGS): patch from sven to fixup
|
||||
G_ENUM_CLASS_TYPE() macro.
|
||||
|
||||
Sat Feb 17 04:55:35 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtype.[hc]: changed collect_format, collect_value() and lcopy_format,
|
||||
|
@ -32,7 +32,7 @@ extern "C" {
|
||||
#define G_ENUM_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_ENUM, GEnumClass))
|
||||
#define G_IS_ENUM_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_ENUM))
|
||||
#define G_ENUM_CLASS_TYPE(class) (G_TYPE_FROM_CLASS (class))
|
||||
#define G_ENUM_CLASS_TYPE_NAME(class) (g_type_name (G_ENUM_TYPE (class)))
|
||||
#define G_ENUM_CLASS_TYPE_NAME(class) (g_type_name (G_ENUM_CLASS_TYPE (class)))
|
||||
#define G_TYPE_IS_FLAGS(type) (G_TYPE_FUNDAMENTAL (type) == G_TYPE_FLAGS)
|
||||
#define G_FLAGS_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_FLAGS, GFlagsClass))
|
||||
#define G_IS_FLAGS_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_FLAGS))
|
||||
|
Loading…
Reference in New Issue
Block a user