python: Robust exception handling in callbacks.
[gpgme.git] / lang / python / helpers.h
index 12d7cfa..81d17ff 100644 (file)
@@ -30,6 +30,7 @@ void pygpgme_exception_init(void);
 gpgme_error_t pygpgme_exception2code(void);
 
 void pygpgme_clear_generic_cb(PyObject **cb);
+PyObject *pygpgme_raise_callback_exception(PyObject *self);
 
 void pygpgme_set_passphrase_cb(gpgme_ctx_t ctx, PyObject *cb,
                               PyObject **freelater);