diff options
author | Justus Winter <[email protected]> | 2016-06-14 11:48:33 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-06-16 12:19:17 +0000 |
commit | 856bcfe2934237011984fab0bc69800a7c25c34b (patch) | |
tree | 06de1604878899fe01e5c014a22e94ee39e00fe2 /lang/python/Makefile.am | |
parent | python: Simplify wrapping glue. (diff) | |
download | gpgme-856bcfe2934237011984fab0bc69800a7c25c34b.tar.gz gpgme-856bcfe2934237011984fab0bc69800a7c25c34b.zip |
python: Avoid creating SWIG proxy classes.
* lang/python/Makefile.am (gpgme_wrap.c): Use '-builtin' to make SWIG
generate builtin types for c types.
* lang/python/gpgme.i (pygpgme_wrap_gpgme_data_t): Adapt slightly.
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'lang/python/Makefile.am')
-rw-r--r-- | lang/python/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am index e156d46e..8f0e74f9 100644 --- a/lang/python/Makefile.am +++ b/lang/python/Makefile.am @@ -40,7 +40,7 @@ errors.i: `$(GPG_ERROR_CONFIG) --prefix`/include/gpg-error.h >$@ gpgme_wrap.c pyme/pygpgme.py: gpgme.i errors.i gpgme.h copystamp - $(SWIG) -python -py3 $(SWIGOPT) \ + $(SWIG) -python -py3 -builtin $(SWIGOPT) \ -o $(builddir)/gpgme_wrap.c -outdir $(builddir)/pyme \ $< |