diff options
author | James Henstridge <james@daa.com.au> | 2000-07-03 05:59:49 +0000 |
---|---|---|
committer | James Henstridge <jamesh@src.gnome.org> | 2000-07-03 05:59:49 +0000 |
commit | f3b182f85eb6c27cf8114f5f4d797c6a28427a09 (patch) | |
tree | d87dbfd097dafdcf81da5767197ec6eca09fd3f4 /pygobject.h | |
parent | ae90e00cd9004bbe6b1fa9167004e85c5bb8fac9 (diff) | |
download | pygtk-f3b182f85eb6c27cf8114f5f4d797c6a28427a09.tar.gz |
call the correct ExtensionClass check macro.
2000-07-03 James Henstridge <james@daa.com.au>
* pygobject.h (pygobject_check): call the correct ExtensionClass
check macro.
* codegen/codegen.py (consttmpl): use pygobject_register_wrapper.
(getattrtmpl): make the getattr function raise an exception on
unhandled attributes. I will use a tp_getattro function to bind
all the getattr functions of base classes together.
Diffstat (limited to 'pygobject.h')
-rw-r--r-- | pygobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pygobject.h b/pygobject.h index 820b1144..29da36b1 100644 --- a/pygobject.h +++ b/pygobject.h @@ -16,7 +16,7 @@ typedef struct { } PyGObject; #define pygobject_get(v) (((PyGObject *)v)->obj) -#define pygobject_check(v,base) (ExtensionClassSubclassInstance(v,base)) +#define pygobject_check(v,base) (ExtensionClassSubclassInstance_Check(v,base)) struct _PyGObject_Functions { void (* register_class)(PyObject *dict, const gchar *class_name, |