diff options
author | Johan Dahlin <johan@gnome.org> | 2008-07-27 09:39:21 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-07-27 09:39:21 +0000 |
commit | 37fe32b72d4b2530aaf28bd343c424898e45ab2c (patch) | |
tree | 065d4b705e476f72d282b0239bd31182e34eb15a /gobject/pygobject-private.h | |
parent | 5ffb6e17bf5ea51abe9c9f440e7cfdd8920d143a (diff) | |
download | pygobject-37fe32b72d4b2530aaf28bd343c424898e45ab2c.tar.gz pygobject-37fe32b72d4b2530aaf28bd343c424898e45ab2c.tar.xz pygobject-37fe32b72d4b2530aaf28bd343c424898e45ab2c.zip |
Use _PyLong macros.
2008-07-27 Johan Dahlin <johan@gnome.org>
* 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
Diffstat (limited to 'gobject/pygobject-private.h')
-rw-r--r-- | gobject/pygobject-private.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; |