diff options
Diffstat (limited to 'pygobject.h')
-rw-r--r-- | pygobject.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pygobject.h b/pygobject.h index 95fd84e4..f5d6d681 100644 --- a/pygobject.h +++ b/pygobject.h @@ -66,6 +66,9 @@ struct _PyGObject_Functions { void (* fatal_exceptions_notify_add)(PyGFatalExceptionFunc func); void (* fatal_exceptions_notify_remove)(PyGFatalExceptionFunc func); + + gchar *(* constant_strip_prefix)(gchar *name, + const gchar *strip_prefix); }; #ifndef _INSIDE_PYGOBJECT_ @@ -96,6 +99,7 @@ struct _PyGObject_Functions *_PyGObject_API; #define pyg_flags_add_constants (_PyGObject_API->flags_add_constants) #define pyg_fatal_exceptions_notify_add (_PyGObject_API->fatal_exceptions_notify_add) #define pyg_fatal_exceptions_notify_remove (_PyGObject_API->fatal_exceptions_notify_remove) +#define pyg_constant_strip_prefix (_PyGObject_API->constant_strip_prefix) #define init_pygobject() { \ PyObject *gobject = PyImport_ImportModule("gobject"); \ |