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:22:30 +00:00 committed by Matthias Clasen
parent fb8e4a91e3
commit 481fe81c06
4 changed files with 12 additions and 3 deletions

View File

@ -1,5 +1,8 @@
2004-10-23 Matthias Clasen <mclasen@redhat.com>
* gobject/tmpl/gtype.sgml (GTypeInterfaceCheckData):
Rename first parameter.
* glib/glib-sections.txt: Add GKeyFile section.
2004-10-17 Matthias Clasen <mclasen@redhat.com>

View File

@ -1442,7 +1442,7 @@ A callback called after an interface vtable is initialized.
See g_type_add_interface_check().
</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
@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)
Wed Oct 6 02:12:44 2004 <timj@birnet.org>
* gtype.c (g_type_instance_get_private): applied patch from Jean-Yves

View File

@ -219,7 +219,7 @@ typedef void (*GInterfaceFinalizeFunc) (gpointer g_iface,
gpointer iface_data);
typedef gboolean (*GTypeClassCacheFunc) (gpointer cache_data,
GTypeClass *g_class);
typedef void (*GTypeInterfaceCheckFunc) (gpointer func_data,
typedef void (*GTypeInterfaceCheckFunc) (gpointer check_data,
gpointer g_iface);
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,
GTypeInterfaceCheckFunc check_func);
void g_type_remove_interface_check (gpointer check_data,
GTypeInterfaceCheckFunc chec_func);
GTypeInterfaceCheckFunc check_func);
GTypeValueTable* g_type_value_table_peek (GType type);