Rename first parameter to check_data, since apparently the system headers

2004-10-23  Matthias Clasen  <mclasen@redhat.com>

	* gtype.h (GTypeInterfaceCheckFunc): Rename first parameter to
	check_data, since apparently the system headers on AIX leak a
	macro named func_data.  (#155178, Andrea Campi)
This commit is contained in:
Matthias Clasen 2004-10-24 01:25:04 +00:00 committed by Matthias Clasen
parent aa604ef0ae
commit 3910a5fa22
4 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2004-10-23 Matthias Clasen <mclasen@redhat.com>
* gobject/tmpl/gtype.sgml (GTypeInterfaceCheckFunc): Rename
first parameter.
2004-10-08 Matthias Clasen <mclasen@redhat.com> 2004-10-08 Matthias Clasen <mclasen@redhat.com>
* === Released 2.4.7 === * === Released 2.4.7 ===

View File

@ -1432,7 +1432,7 @@ g_type_add_interface_check().
</para> </para>
@check_data: callback data passed to g_type_add_interface_check() @check_data: callback data passed to g_type_add_interface_check()
@chec_func: callback function passed to g_type_add_interface_check() @check_func: callback function passed to g_type_add_interface_check()
@Since: 2.4 @Since: 2.4
@ -1442,7 +1442,7 @@ A callback called after an interface vtable is initialized.
See g_type_add_interface_check(). See g_type_add_interface_check().
</para> </para>
@func_data: data passed to g_type_add_interface_check(). @check_data: data passed to g_type_add_interface_check().
@g_iface: the interface that has been initialized @g_iface: the interface that has been initialized
@Since: 2.4 @Since: 2.4

View File

@ -1,3 +1,9 @@
2004-10-23 Matthias Clasen <mclasen@redhat.com>
* gtype.h (GTypeInterfaceCheckFunc): Rename first parameter to
check_data, since apparently the system headers on AIX leak a
macro named func_data. (#155178, Andrea Campi)
2004-10-08 Matthias Clasen <clasen@redhat.com> 2004-10-08 Matthias Clasen <clasen@redhat.com>
* === Released 2.4.7 === * === Released 2.4.7 ===

View File

@ -219,7 +219,7 @@ typedef void (*GInterfaceFinalizeFunc) (gpointer g_iface,
gpointer iface_data); gpointer iface_data);
typedef gboolean (*GTypeClassCacheFunc) (gpointer cache_data, typedef gboolean (*GTypeClassCacheFunc) (gpointer cache_data,
GTypeClass *g_class); GTypeClass *g_class);
typedef void (*GTypeInterfaceCheckFunc) (gpointer func_data, typedef void (*GTypeInterfaceCheckFunc) (gpointer check_data,
gpointer g_iface); gpointer g_iface);
typedef enum /*< skip >*/ typedef enum /*< skip >*/
{ {
@ -399,7 +399,7 @@ void g_type_class_unref_uncached (gpointer g_class);
void g_type_add_interface_check (gpointer check_data, void g_type_add_interface_check (gpointer check_data,
GTypeInterfaceCheckFunc check_func); GTypeInterfaceCheckFunc check_func);
void g_type_remove_interface_check (gpointer check_data, void g_type_remove_interface_check (gpointer check_data,
GTypeInterfaceCheckFunc chec_func); GTypeInterfaceCheckFunc check_func);
GTypeValueTable* g_type_value_table_peek (GType type); GTypeValueTable* g_type_value_table_peek (GType type);