diff options
| -rw-r--r-- | gobject/pygobject.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gobject/pygobject.h b/gobject/pygobject.h index fae23a9..820b114 100644 --- a/gobject/pygobject.h +++ b/gobject/pygobject.h @@ -16,6 +16,7 @@ typedef struct { } PyGObject; #define pygobject_get(v) (((PyGObject *)v)->obj) +#define pygobject_check(v,base) (ExtensionClassSubclassInstance(v,base)) struct _PyGObject_Functions { void (* register_class)(PyObject *dict, const gchar *class_name, |
