mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
added (GTypeFlags) cast needed by C++.
Fri Feb 20 02:44:54 2004 Tim Janik <timj@gtk.org> * gtype.h (G_DEFINE_TYPE_EXTENDED): added (GTypeFlags) cast needed by C++.
This commit is contained in:
parent
defca980e4
commit
b183ffc5ed
@ -1,3 +1,7 @@
|
||||
Fri Feb 20 02:44:54 2004 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtype.h (G_DEFINE_TYPE_EXTENDED): added (GTypeFlags) cast needed by C++.
|
||||
|
||||
Tue Feb 3 21:24:01 2004 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtype.h (_G_TYPE_CVH): provide a short-cut version for
|
||||
|
@ -373,7 +373,7 @@ type_name##_get_type (void) \
|
||||
0, /* n_preallocs */ \
|
||||
(GInstanceInitFunc) type_name##_init, \
|
||||
}; \
|
||||
g_define_type_id = g_type_register_static (TYPE_PARENT, #TypeName, &g_define_type_info, flags); \
|
||||
g_define_type_id = g_type_register_static (TYPE_PARENT, #TypeName, &g_define_type_info, (GTypeFlags) flags); \
|
||||
{ CODE ; } \
|
||||
} \
|
||||
return g_define_type_id; \
|
||||
|
Loading…
Reference in New Issue
Block a user