diff options
author | Justus Winter <[email protected]> | 2016-07-28 13:24:05 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-07-28 13:26:43 +0000 |
commit | b5aa05c3b261c3846ebbcf76e7505cff5459f918 (patch) | |
tree | 3274237139c81103aa9395b0572efea00a8dfcd7 /lang/python/helpers.h | |
parent | python: Rename private functions. (diff) | |
download | gpgme-b5aa05c3b261c3846ebbcf76e7505cff5459f918.tar.gz gpgme-b5aa05c3b261c3846ebbcf76e7505cff5459f918.zip |
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 <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | lang/python/helpers.h | 12 |
1 files changed, 6 insertions, 6 deletions
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); |