Home GnuPG
Diffusion GpgOL 930a31db0415

Add helper method to invoke a function.
930a31db0415Unpublished

Unpublished Commit · Learn More

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

Description

Add helper method to invoke a function.

* src/oomhelp.cpp, src/oomhelp.h (invoke_oom_method): Invoke
a generic method without arguments with an optional return value.

I've used this during some experiments calling Delete() on
attachments. Could be useful for other things.

Details

Provenance
aheineckeAuthored on Sep 21 2015, 3:01 PM
Parents
rOd706915a7b7c: Show exception info in case put_oom_string fails.
Branches
Unknown
Tags
Unknown