gpgme/lang
Tobias Mueller d356519170
python: Call SWIG_NewPointerObj rather than SWIG_Python_NewPointerObj.
* lang/python/gpgme.i (pygpgme_wrap_gpgme_data_t): Provide a "self"
variable for SWIG_NewPointerObj and call SWIG_NewPointerObj rather than
SWIG_Python_NewPointerObj.
--

SWIG_Python_NewPointerObj seems to be an implementation detail, because
SWIG's documentation does not mention that function at all.  In fact,
SWIG_NewPointerObj is a call to SWIG_Python_NewPointerObj with the first
parameter being either NULL or the "self" variable, depending on whether
SWIG is called with the -builtin flag.  So far, the first parameter was
hard-coded to NULL.  This change also hard-codes it to NULL but makes
it more explicit.  The benefit is that the documented function is being
used and that compilation works regardless of the -builtin flag.

Partially reverts: 856bcfe293

Signed-off-by: Tobias Mueller <muelli@cryptobitch.de>
2017-02-14 11:19:17 +01:00
..
cl .gitignore: flesh out rules and add subdirectory-.gitignores. 2012-04-20 16:05:11 +02:00
cpp cpp: Add revuid and adduid support 2017-01-11 16:14:45 +01:00
python python: Call SWIG_NewPointerObj rather than SWIG_Python_NewPointerObj. 2017-02-14 11:19:17 +01:00
qt qt: Add missing #include <functional> 2017-02-13 10:37:18 +01:00
Makefile.am build: Declare all languages for make dist. 2016-08-10 16:28:36 +02:00
README python: Rename Python module from PyME to gpg. 2016-10-31 15:42:27 +01:00

Language Support for GPGME
--------------------------

This directory contains support for other languages than C.

Please note that language support components may be under a different
license than GPGME itself.  You can find more information in each
sub-directory.

Directory	Language

cl		Common Lisp
cpp		C++
qt		Qt-Framework API
python		Python 2 and 3 (module name: gpg)