diff options
author | Ingo Klöcker <[email protected]> | 2025-02-03 09:49:45 +0000 |
---|---|---|
committer | Ingo Klöcker <[email protected]> | 2025-02-03 10:19:09 +0000 |
commit | 932caf37d36eca2caec59bf48bc505364a5765bb (patch) | |
tree | 3a4781c7ce1f36efb3450893782318ee7906c5ed /lang/python/private.h | |
parent | cpp,qt: Remove C++ and Qt bindings (diff) | |
download | gpgme-932caf37d36eca2caec59bf48bc505364a5765bb.tar.gz gpgme-932caf37d36eca2caec59bf48bc505364a5765bb.zip |
python: Remove Python bindings
* README: Update.
* configure.ac: Remove checks, variables and file generations related to
the Python bindings. Remove python from available_languages and
default_languages.
* lang/Makefile.am (DIST_SUBDIRS): Remove python.
* lang/python: Remove.
* m4/ax_pkg_swig.m4, m4/ax_python_devel.m4, m4/python.m4: Remove.
--
The Python bindings have been moved to a separate Git repository:
gpgmepy.
GnuPG-bug-id: 7262
Diffstat (limited to 'lang/python/private.h')
-rw-r--r-- | lang/python/private.h | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/lang/python/private.h b/lang/python/private.h deleted file mode 100644 index 098fca01..00000000 --- a/lang/python/private.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2016 g10 Code GmbH - * - * This file is part of GPGME. - * - * GPGME is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License as - * published by the Free Software Foundation; either version 2.1 of - * the License, or (at your option) any later version. - * - * GPGME is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this program; if not, see <https://www.gnu.org/licenses/>. - */ - -#include <gpgme.h> - -#ifndef _GPG_PRIVATE_H_ -#define _GPG_PRIVATE_H_ - -/* GPGME glue. Implemented in helpers.c. */ - -void _gpg_exception_init(void); -gpgme_error_t _gpg_exception2code(void); - -PyObject *_gpg_obj2gpgme_t(PyObject *input, const char *objtype, int argnum); -PyObject *_gpg_obj2gpgme_data_t(PyObject *input, int argnum, - gpgme_data_t *wrapper, - PyObject **bytesio, Py_buffer *view); - -PyObject *_gpg_wrap_result(PyObject *fragile, const char *classname); - -gpgme_error_t _gpg_interact_cb(void *opaque, const char *keyword, - const char *args, int fd); -gpgme_error_t _gpg_assuan_data_cb (void *hook, - const void *data, size_t datalen); -gpgme_error_t _gpg_assuan_inquire_cb (void *hook, - const char *name, const char *args, - gpgme_data_t *r_data); -gpgme_error_t _gpg_assuan_status_cb (void *hook, - const char *status, const char *args); - - - -/* SWIG runtime support. Implemented in gpgme.i. */ - -PyObject *_gpg_wrap_gpgme_data_t(gpgme_data_t data); -gpgme_ctx_t _gpg_unwrap_gpgme_ctx_t(PyObject *wrapped); - -#endif /* _GPG_PRIVATE_H_ */ |