diff options
author | James Henstridge <james@daa.com.au> | 2000-07-03 05:59:48 +0000 |
---|---|---|
committer | James Henstridge <jamesh@src.gnome.org> | 2000-07-03 05:59:48 +0000 |
commit | d72ae7f0024c920bd403f78cece32d7d047fa2af (patch) | |
tree | a96949839ba472c4a5e5a38c2c0df7e36bc054ca | |
parent | af31d7fa66d78f988528b0cb94fc86ef71c63c22 (diff) | |
download | pygobject-d72ae7f0024c920bd403f78cece32d7d047fa2af.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.
-rw-r--r-- | gobject/pygobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/pygobject.h b/gobject/pygobject.h index 820b1144..29da36b1 100644 --- a/gobject/pygobject.h +++ b/gobject/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, |