gpgscm: Move dispatch table into rodata.

Authored by justus on Mar 29 2017, 4:32 PM.

Description

gpgscm: Move dispatch table into rodata.

* tests/gpgscm/opdefines.h: Use 0 instead of NULL.
* tests/gpgscm/scheme.c (op_code_info): Use char arrays instead of
pointers, make arity parameters smaller.
(INF_ARG): Adapt.
(_OP_DEF): Likewise.
(dispatch_table): Likewise.
(procname): Likewise.
(Eval_cycle): Likewise.
(scheme_init_custom_alloc): Likewise.
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Committed
justusApr 10 2017, 2:57 PM
Parents
rE49c22bd71892: gpgscm: Use more threaded code.
Branches
Unknown
Tags
Unknown