summaryrefslogtreecommitdiffstats
path: root/gobject/pygobject-private.h
diff options
context:
space:
mode:
authorBenjamin Otte <in7y118@public.uni-hamburg.de>2005-05-17 17:47:10 +0000
committerJohan Dahlin <zilch@src.gnome.org>2005-05-17 17:47:10 +0000
commit02f815401f09b07bccfce01d3a5abb19b3a34095 (patch)
tree891f8b8243d11a93f915a9efb5a05b06b967f992 /gobject/pygobject-private.h
parent2abe91752472e501266330b7ca21976046e1973e (diff)
downloadpygobject-02f815401f09b07bccfce01d3a5abb19b3a34095.tar.gz
pygobject-02f815401f09b07bccfce01d3a5abb19b3a34095.tar.xz
pygobject-02f815401f09b07bccfce01d3a5abb19b3a34095.zip
reviewed by: Johan Dahlin <jdahlin@async.com.br>
2005-05-17 Benjamin Otte <in7y118@public.uni-hamburg.de> reviewed by: Johan Dahlin <jdahlin@async.com.br> * gobject/gobjectmodule.c: * gobject/pygobject-private.h: * gobject/pygobject.h: * gobject/pygtype.c: (pyg_closure_marshal), (pyg_closure_set_exception_handler): Adds exception handling support to closures, fixes #304357
Diffstat (limited to 'gobject/pygobject-private.h')
-rw-r--r--gobject/pygobject-private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gobject/pygobject-private.h b/gobject/pygobject-private.h
index c5852e8..54a110e 100644
--- a/gobject/pygobject-private.h
+++ b/gobject/pygobject-private.h
@@ -69,6 +69,8 @@ PyObject *pyg_param_gvalue_as_pyobject(const GValue* gvalue,
const GParamSpec* pspec);
GClosure *pyg_closure_new(PyObject *callback, PyObject *extra_args, PyObject *swap_data);
+void pyg_closure_set_exception_handler(GClosure *closure,
+ PyClosureExceptionHandler handler);
GClosure *pyg_signal_class_closure_get(void);
PyObject *pyg_object_descr_doc_get(void);