From b5aa05c3b261c3846ebbcf76e7505cff5459f918 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Thu, 28 Jul 2016 15:24:05 +0200 Subject: python: Rename exported functions. Avoid the name pygpgme, as this is the name of another popular Python binding for GPGME. This commit renames all functions that are exported to the Python world. * lang/python/helpers.c: Rename all exported functions. * lang/python/helpers.h: Likewise. * lang/python/pyme/core.py: Likewise. Signed-off-by: Justus Winter --- lang/python/helpers.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lang/python/helpers.h') diff --git a/lang/python/helpers.h b/lang/python/helpers.h index f41d327c..16a9b9fd 100644 --- a/lang/python/helpers.h +++ b/lang/python/helpers.h @@ -26,11 +26,11 @@ #define write(fd, str, sz) {DWORD written; WriteFile((HANDLE) fd, str, sz, &written, 0);} #endif -PyObject *pygpgme_raise_callback_exception(PyObject *self); +PyObject *pyme_raise_callback_exception(PyObject *self); -PyObject *pygpgme_set_passphrase_cb(PyObject *self, PyObject *cb); -PyObject *pygpgme_set_progress_cb(PyObject *self, PyObject *cb); -PyObject *pygpgme_set_status_cb(PyObject *self, PyObject *cb); +PyObject *pyme_set_passphrase_cb(PyObject *self, PyObject *cb); +PyObject *pyme_set_progress_cb(PyObject *self, PyObject *cb); +PyObject *pyme_set_status_cb(PyObject *self, PyObject *cb); -PyObject *pygpgme_data_new_from_cbs(PyObject *self, PyObject *pycbs, - gpgme_data_t *r_data); +PyObject *pyme_data_new_from_cbs(PyObject *self, PyObject *pycbs, + gpgme_data_t *r_data); -- cgit v1.2.3