diff options
Diffstat (limited to 'pygobject.h')
-rw-r--r-- | pygobject.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pygobject.h b/pygobject.h index 10a9bf47..4cccd239 100644 --- a/pygobject.h +++ b/pygobject.h @@ -35,6 +35,8 @@ struct _PyGObject_Functions { void (* register_wrapper)(PyObject *self); PyExtensionClass *(* lookup_class)(GType type); PyObject *(* new)(GObject *obj); + GClosure *(* closure_new)(PyObject *callback, PyObject *extra_args, + PyObject *swap_data); GType (* type_from_object)(PyObject *obj); gint (* enum_get_value)(GType enum_type, PyObject *obj, gint *val); gint (* flags_get_value)(GType flag_type, PyObject *obj, gint *val); @@ -67,6 +69,7 @@ struct _PyGObject_Functions *_PyGObject_API; #define pygobject_register_wrapper (_PyGObject_API->register_wrapper) #define pygobject_lookup_class (_PyGObject_API->lookup_class) #define pygobject_new (_PyGObject_API->new) +#define pyg_closure_new (_PyGObject_API->closure_new) #define pyg_type_from_object (_PyGObject_API->type_from_object) #define pyg_enum_get_value (_PyGObject_API->enum_get_value) #define pyg_flags_get_value (_PyGObject_API->flags_get_value) |