aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python/helpers.h
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-06-02 15:14:53 +0000
committerJustus Winter <[email protected]>2016-06-06 12:16:04 +0000
commit26c3accc95ab77ddbe60db822e2938ad5f480d41 (patch)
tree238748aaac8674b7b7ab73beb1229653a6084903 /lang/python/helpers.h
parentpython: Fix error handling. (diff)
downloadgpgme-26c3accc95ab77ddbe60db822e2938ad5f480d41.tar.gz
gpgme-26c3accc95ab77ddbe60db822e2938ad5f480d41.zip
python: Move helper function.
* lang/python/gpgme.i (object_to_gpgme_t): Move... * lang/python/helpers.c: ... here. * lang/python/helpers.h (object_to_gpgme_t): New prototype. Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to '')
-rw-r--r--lang/python/helpers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/python/helpers.h b/lang/python/helpers.h
index 1bfcaa69..952b31f2 100644
--- a/lang/python/helpers.h
+++ b/lang/python/helpers.h
@@ -28,6 +28,8 @@
void pygpgme_exception_init(void);
gpgme_error_t pygpgme_exception2code(void);
+PyObject *object_to_gpgme_t(PyObject *input, const char *objtype, int argnum);
+
void pygpgme_clear_generic_cb(PyObject **cb);
PyObject *pygpgme_raise_callback_exception(PyObject *self);