From 7bc9cc717e428f48d4b27016f44c9f3900b1fba6 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Tue, 24 May 2016 17:22:08 +0200 Subject: python: Make all GnuPG errors available. * lang/python/Makefile.am (errors.i): Generate file. * lang/python/gpgme.i: Include generated file. * lang/python/pyme/errors.py: Pull in all errors and error sources. Signed-off-by: Justus Winter --- lang/python/gpgme.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lang/python/gpgme.i') diff --git a/lang/python/gpgme.i b/lang/python/gpgme.i index a82efb55..84bc6e98 100644 --- a/lang/python/gpgme.i +++ b/lang/python/gpgme.i @@ -259,7 +259,7 @@ PyObject* object_to_gpgme_t(PyObject* input, const char* objtype, int argnum) { %} %include "gpgme.h" -%constant long EOF = GPG_ERR_EOF; +%include "errors.i" // Generating and handling pointers-to-pointers. -- cgit v1.2.3