diff options
author | James Henstridge <james@daa.com.au> | 2000-06-24 11:24:51 +0000 |
---|---|---|
committer | James Henstridge <jamesh@src.gnome.org> | 2000-06-24 11:24:51 +0000 |
commit | 5a220e9fd5a4287497356ce2275806b22b10349b (patch) | |
tree | 99409728cbecdb63e5366b621f45fff694684473 /gtk/pygtk.h | |
parent | ff3ec329a32c72e45209f5bb15c8eff003fdba89 (diff) | |
download | pygtk-extension-class-branch.tar.gz |
moved this bit of code here, so it can be used in other functions in thisextension-class-branch
2000-06-24 James Henstridge <james@daa.com.au>
* gtk/gtkobject-support.c (pygtk_lookup_class): moved this bit of
code here, so it can be used in other functions in this file.
(pygtk_arg_from_pyobject): perform stricter type checking here.
(pygtk_ret_from_pyobject): and here.
* gtk/pygtk.h (pygtk_register_{class,wrapper}): add define here.
Without it, addon modules were using symbols from _gtkmodule's
namespace.
Diffstat (limited to 'gtk/pygtk.h')
-rw-r--r-- | gtk/pygtk.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/pygtk.h b/gtk/pygtk.h index a8407b39..28545cfa 100644 --- a/gtk/pygtk.h +++ b/gtk/pygtk.h @@ -257,6 +257,8 @@ struct _PyGtk_FunctionStruct *_PyGtk_API; #define pygtk_register_boxed (_PyGtk_API->register_boxed) #define pygtk_enum_get_value (_PyGtk_API->enum_get_value) #define pygtk_flag_get_value (_PyGtk_API->flag_get_value) +#define pygtk_register_class (_PyGtk_API->register_class) +#define pygtk_register_wrapper (_PyGtk_API->register_wrapper) #define pygtk_no_constructor (_PyGtk_API->no_constructor) /* some variables */ |