summaryrefslogtreecommitdiffstats
path: root/gobject/pygobject-private.h
diff options
context:
space:
mode:
authorJohan Dahlin <johan@src.gnome.org>2005-07-07 18:44:12 +0000
committerJohan Dahlin <johan@src.gnome.org>2005-07-07 18:44:12 +0000
commit302a0be1855356577a8869c34fa90bface8d4f00 (patch)
tree87b8d571e2257c31ca4200020b01428d34cc08e4 /gobject/pygobject-private.h
parent8914f109dc0515d8927c76b29ec5b46317965b68 (diff)
downloadpygobject-302a0be1855356577a8869c34fa90bface8d4f00.tar.gz
pygobject-302a0be1855356577a8869c34fa90bface8d4f00.tar.xz
pygobject-302a0be1855356577a8869c34fa90bface8d4f00.zip
Rename pyg_register_boxed_custom to pyg_register_gtype_custom. Add note
* gobject/gobjectmodule.c: (initgobject): * gobject/pygobject-private.h: * gobject/pygobject.h: * gobject/pygtype.c: (pyg_type_lookup), (pyg_register_gtype_custom), (pyg_value_from_pyobject), (pyg_value_as_pyobject): Rename pyg_register_boxed_custom to pyg_register_gtype_custom. Add note about private fields in exported API structure. Based on patch by Edward Hervey, fixes #309625
Diffstat (limited to 'gobject/pygobject-private.h')
-rw-r--r--gobject/pygobject-private.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gobject/pygobject-private.h b/gobject/pygobject-private.h
index 50264ff..205d255 100644
--- a/gobject/pygobject-private.h
+++ b/gobject/pygobject-private.h
@@ -68,9 +68,9 @@ int pyg_pyobj_to_unichar_conv (PyObject* py_obj, void* ptr);
typedef PyObject *(* fromvaluefunc)(const GValue *value);
typedef int (*tovaluefunc)(GValue *value, PyObject *obj);
-void pyg_register_boxed_custom(GType boxed_type,
- fromvaluefunc from_func,
- tovaluefunc to_func);
+void pyg_register_gtype_custom(GType gtype,
+ fromvaluefunc from_func,
+ tovaluefunc to_func);
int pyg_value_from_pyobject(GValue *value, PyObject *obj);
PyObject *pyg_value_as_pyobject(const GValue *value, gboolean copy_boxed);
int pyg_param_gvalue_from_pyobject(GValue* value,