Home GnuPG
Diffusion GPGME fb7f4cb973ab

python: Define a macro for wrapping fragile result objects.
fb7f4cb973abUnpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

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
rMae21d2705fc4: python: Check "buffer" when writing to sys.stdout for python2 compat.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rMfb7f4cb973ab: python: Define a macro for wrapping fragile result objects. (authored by Tobias Mueller <muelli@cryptobitch.de>).Dec 5 2016, 12:41 PM