summaryrefslogtreecommitdiff
path: root/gtk/pygtk.h
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>2000-06-24 11:24:51 +0000
committerJames Henstridge <jamesh@src.gnome.org>2000-06-24 11:24:51 +0000
commit5a220e9fd5a4287497356ce2275806b22b10349b (patch)
tree99409728cbecdb63e5366b621f45fff694684473 /gtk/pygtk.h
parentff3ec329a32c72e45209f5bb15c8eff003fdba89 (diff)
downloadpygtk-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.h2
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 */