Home GnuPG
Diffusion GnuPG 43f8006f5c75

gpgscm: Implement 'atexit'.
43f8006f5c75Unpublished

Unpublished Commit ยท Learn More

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

Description

gpgscm: Implement 'atexit'.

* tests/gpgscm/ffi.scm (throw): Run *run-atexit-handlers* when
terminating the interpreter.
(*atexit-handlers*): New variable.
(*run-atexit-handlers*): New function.
(atexit): Likewise.
* tests/gpgscm/main.c (main): Run *run-atexit-handlers* at normal
interpreter shutdown.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Nov 4 2016, 12:08 PM
Parents
rGcd00b07ec26c: scd: Fix length error for READKEY.
Branches
Unknown
Tags
Unknown

Event Timeline

Justus Winter <justus@g10code.com> committed rG43f8006f5c75: gpgscm: Implement 'atexit'. (authored by Justus Winter <justus@g10code.com>).Nov 4 2016, 12:42 PM