summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>2000-07-03 05:59:48 +0000
committerJames Henstridge <jamesh@src.gnome.org>2000-07-03 05:59:48 +0000
commitd72ae7f0024c920bd403f78cece32d7d047fa2af (patch)
treea96949839ba472c4a5e5a38c2c0df7e36bc054ca
parentaf31d7fa66d78f988528b0cb94fc86ef71c63c22 (diff)
downloadpygobject-d72ae7f0024c920bd403f78cece32d7d047fa2af.tar.gz
pygobject-d72ae7f0024c920bd403f78cece32d7d047fa2af.tar.xz
pygobject-d72ae7f0024c920bd403f78cece32d7d047fa2af.zip
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/pygobject.h b/gobject/pygobject.h
index 820b114..29da36b 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,