gpgscm: Improve syntax dispatch.

Authored by justus on Mar 29 2017, 6:10 PM.

Description

gpgscm: Improve syntax dispatch.

* tests/gpgscm/scheme.c (assign_syntax): Add opcode parameter, store
opcode in the tag.
(syntaxnum): Add sc parameter, retrieve opcode from tag.
(opexe_0): Adapt callsite.
(scheme_init_custom_alloc): Likewise.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Committed
justusApr 10 2017, 2:57 PM
Parents
rEd6c83fbb06ab: gpgscm: Make tags mandatory.
Branches
Unknown
Tags
Unknown