summaryrefslogtreecommitdiffstats
path: root/gobject/pygobject.c
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2008-07-27 09:49:13 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-07-27 09:49:13 +0000
commit2c9df6000e93158e14cf279e0cf3ee19acad11d0 (patch)
treec9f963f53f9ab9e3f9ed6ef743d32441e0aaf956 /gobject/pygobject.c
parent37fe32b72d4b2530aaf28bd343c424898e45ab2c (diff)
downloadpygobject-2c9df6000e93158e14cf279e0cf3ee19acad11d0.tar.gz
pygobject-2c9df6000e93158e14cf279e0cf3ee19acad11d0.tar.xz
pygobject-2c9df6000e93158e14cf279e0cf3ee19acad11d0.zip
Add a Py_TYPE macro for accessing ob_type.
2008-07-27 Johan Dahlin <johan@gnome.org> * glib/pyglib-python-compat.h: Add a Py_TYPE macro for accessing ob_type. * glib/glibmodule.c (pyglib_register_constants): * gobject/gobjectmodule.c (pygobject__g_instance_init), (pyg_integer_richcompare): * gobject/pygenum.c (pyg_enum_repr), (pyg_enum_from_gtype), (pyg_enum_add), (pyg_enum_get_value_name), (pyg_enum_get_value_nick): * gobject/pygflags.c (pyg_flags_repr), (pyg_flags_from_gtype), (pyg_flags_add), (pyg_flags_and), (pyg_flags_or), (pyg_flags_xor), (pyg_flags_get_first_value_name), (pyg_flags_get_first_value_nick), (pyg_flags_get_value_names), (pyg_flags_get_value_nicks): Use Py_TYPE and PyLong macros to access struct fields svn path=/trunk/; revision=885
Diffstat (limited to 'gobject/pygobject.c')
0 files changed, 0 insertions, 0 deletions