Home GnuPG

python: Define a macro for wrapping fragile result objects.

Description

python: Define a macro for wrapping fragile result objects.

* lang/python/gpgme.i (wrapresult): New Macro.

This reduces the amount of copy and pasted code at the expense of a
slightly more complicated logic with a macro.

  • Signed-off-by: Tobias Mueller <muelli@cryptobitch.de>

Details

Provenance
4tmuelleAuthored on Dec 1 2016, 9:15 PM
justusCommitted on Dec 5 2016, 12:41 PM
Parents
rGPGMEPY0494b2bb7073: python: Check "buffer" when writing to sys.stdout for python2 compat.
Branches
Unknown
Tags
Unknown

Event Timeline