summaryrefslogtreecommitdiffstats
path: root/gobject/pygobject.h
diff options
context:
space:
mode:
authorGustavo J. A. M. Carneiro <gcarneiro@src.gnome.org>2004-07-04 14:28:23 +0000
committerGustavo J. A. M. Carneiro <gcarneiro@src.gnome.org>2004-07-04 14:28:23 +0000
commit072186406de2ea403ade8474f5873d8137d9218c (patch)
treea5fc62e18478d573d213b5b115168f2cac7446ea /gobject/pygobject.h
parent8a3a6d4600a0db5637b6ed9172c5d4ace380a7bc (diff)
downloadpygobject-072186406de2ea403ade8474f5873d8137d9218c.tar.gz
pygobject-072186406de2ea403ade8474f5873d8137d9218c.tar.xz
pygobject-072186406de2ea403ade8474f5873d8137d9218c.zip
John Ehresman's patch to improve gunichar parameter handling
Diffstat (limited to 'gobject/pygobject.h')
-rw-r--r--gobject/pygobject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gobject/pygobject.h b/gobject/pygobject.h
index a4cdfce..6dbd8a5 100644
--- a/gobject/pygobject.h
+++ b/gobject/pygobject.h
@@ -110,6 +110,7 @@ struct _PyGObject_Functions {
PyTypeObject *paramspec_type;
PyObject *(* paramspec_new)(GParamSpec *spec);
GParamSpec *(*paramspec_get)(PyObject *tuple);
+ int (*pyobj_to_unichar_conv)(PyObject *pyobj, void* ptr);
};
#ifndef _INSIDE_PYGOBJECT_
@@ -150,6 +151,7 @@ struct _PyGObject_Functions *_PyGObject_API;
#define PyGParamSpec_Type (*_PyGObject_API->paramspec_type)
#define pyg_param_spec_new (_PyGObject_API->paramspec_new)
#define pyg_param_spec_from_object (_PyGObject_API->paramspec_get)
+#define pyg_pyobj_to_unichar_conv (_PyGObject_API->pyobj_to_unichar_conv)
#define pyg_block_threads() G_STMT_START { \
if (_PyGObject_API->block_threads != NULL) \
(* _PyGObject_API->block_threads)(); \