diff options
Diffstat (limited to '')
| -rw-r--r-- | lang/python/gpgme.i | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/lang/python/gpgme.i b/lang/python/gpgme.i index c1e00740..2b186c4f 100644 --- a/lang/python/gpgme.i +++ b/lang/python/gpgme.i @@ -476,8 +476,10 @@ struct _gpgme_sig_notation  %}  FILE *fdopen(int fildes, const char *mode); +/* We include both headers in the generated c code...  */  %{  #include "helpers.h" +#include "private.h"  /* SWIG support for helpers.c  */  PyObject * @@ -499,4 +501,6 @@ pygpgme_unwrap_gpgme_ctx_t(PyObject *wrapped)  }  %} +/* ... but only the public definitions here.  They will be exposed to +   the Python world, so let's be careful.  */  %include "helpers.h" | 
