diff options
author | James Henstridge <james@daa.com.au> | 2000-07-02 16:35:25 +0000 |
---|---|---|
committer | James Henstridge <jamesh@src.gnome.org> | 2000-07-02 16:35:25 +0000 |
commit | af31d7fa66d78f988528b0cb94fc86ef71c63c22 (patch) | |
tree | 074c1c0422923b0c0944874678824a7a5ec06210 | |
parent | 2272e14921ec035aeb22328ecd91e285f3803f46 (diff) | |
download | pygobject-af31d7fa66d78f988528b0cb94fc86ef71c63c22.tar.gz pygobject-af31d7fa66d78f988528b0cb94fc86ef71c63c22.tar.xz pygobject-af31d7fa66d78f988528b0cb94fc86ef71c63c22.zip |
use PyGObject rather than PyGtk_Object.
2000-07-03 James Henstridge <james@daa.com.au>
* codegen/argtypes.py (ObjectArg.write_param): use PyGObject
rather than PyGtk_Object.
* pygobject.h (pygobject_check): add check function. Just a wrapper
around ExtensionClassSubclassInstance.
-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, |