From 37fe32b72d4b2530aaf28bd343c424898e45ab2c Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Sun, 27 Jul 2008 09:39:21 +0000 Subject: Use _PyLong macros. 2008-07-27 Johan Dahlin * gobject/gobjectmodule.c (pyg_param_spec_from_object), (add_properties), (pyg_signal_new), (pyg_signal_list_ids), (pyg_signal_lookup), (pyg_signal_query): * gobject/pygenum.c (pyg_enum_richcompare), (pyg_enum_new), (pyg_enum_from_gtype), (pyg_enum_add), (pyg_enum_reduce), (pygobject_enum_register_types): * gobject/pygflags.c (pyg_flags_richcompare), (pyg_flags_new), (pyg_flags_from_gtype), (pyg_flags_add), (pyg_flags_and), (pyg_flags_or), (pyg_flags_xor), (pygobject_flags_register_types): * gobject/pygobject-private.h: * gobject/pygobject.c (pygobject_disconnect_by_func), (pygobject_handler_block_by_func), (pygobject_handler_unblock_by_func), (pygobject_get_refcount): * gobject/pygparamspec.c (pyg_param_spec_getattr): * gobject/pygtype.c (_wrap_g_type_wrapper__get_depth), (pyg_type_from_object), (pyg_enum_get_value), (pyg_flags_get_value), (pyg_value_from_pyobject), (pyg_value_as_pyobject): Use _PyLong macros. svn path=/trunk/; revision=884 --- gobject/pygobject-private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gobject/pygobject-private.h') diff --git a/gobject/pygobject-private.h b/gobject/pygobject-private.h index aebe4c5..3d4f877 100644 --- a/gobject/pygobject-private.h +++ b/gobject/pygobject-private.h @@ -194,7 +194,7 @@ const gchar * pyg_constant_strip_prefix(const gchar *name, const gchar *strip_pr /* pygflags */ typedef struct { - PyIntObject parent; + _PyLongObject parent; GType gtype; } PyGFlags; @@ -213,7 +213,7 @@ extern PyObject * pyg_flags_from_gtype (GType gtype, #define PyGEnum_Check(x) (g_type_is_a(((PyGFlags*)x)->gtype, G_TYPE_ENUM)) typedef struct { - PyIntObject parent; + _PyLongObject parent; GType gtype; } PyGEnum; -- cgit