diff options
author | James Henstridge <james@daa.com.au> | 2000-11-09 10:06:00 +0000 |
---|---|---|
committer | James Henstridge <jamesh@src.gnome.org> | 2000-11-09 10:06:00 +0000 |
commit | 5e9e2566e8e4bd1bb611a7409478abde7bd98f9c (patch) | |
tree | 3a129c9c5dcdd58e27d65c2fbe5fc895317f3ecd /gobject/pygobject.h | |
parent | 3bb84f9f11b80b2fe50a1a7496df929d04fc5d3d (diff) | |
download | pygobject-5e9e2566e8e4bd1bb611a7409478abde7bd98f9c.tar.gz pygobject-5e9e2566e8e4bd1bb611a7409478abde7bd98f9c.tar.xz pygobject-5e9e2566e8e4bd1bb611a7409478abde7bd98f9c.zip |
change code generator to pass bases in as a tuple rather than a single
2000-11-09 James Henstridge <james@daa.com.au>
* codegen/codegen.py (write_source): change code generator to pass
bases in as a tuple rather than a single PyExtensionClass
structure.
* pygobject.h: change prototype.
* gobjectmodule.c (pygobject_register_class): allow for registerin
a type with multiple base classes.
Diffstat (limited to 'gobject/pygobject.h')
-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 8823514..2e0a7d7 100644 --- a/gobject/pygobject.h +++ b/gobject/pygobject.h @@ -20,7 +20,7 @@ typedef struct { struct _PyGObject_Functions { void (* register_class)(PyObject *dict, const gchar *class_name, - PyExtensionClass *ec, PyExtensionClass *parent); + PyExtensionClass *ec, PyObject *bases); void (* register_wrapper)(PyObject *self); PyExtensionClass *(* lookup_class)(GType type); PyObject *(* new)(GObject *obj); |