1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-26 01:52:45 +02:00
gnupg/tests/gpgscm
Justus Winter 56c36f2932 tests/gpgscm: Foreign objects support for TinySCHEME.
* tests/gpgscm/scheme-private.h (struct cell): Add 'foreign_object'.
(is_foreign_object): New prototype.
(get_foreign_object_{vtable,data}): Likewise.
* tests/gpgscm/scheme.c (enum scheme_types): New type.
(is_foreign_object): New function.
(get_foreign_object_{vtable,data}): Likewise.
(mk_foreign_object): Likewise.
(finalize_cell): Free foreign objects.
(atom2str): Pretty-print foreign objects.
(vtbl): Add new functions.
* tests/gpgscm/scheme.h (struct foreign_object_vtable): New type.
(mk_foreign_object): New prototype.
(struct scheme_interface): Add new functions.

Patch from Thomas Munro,
https://sourceforge.net/p/tinyscheme/patches/13/

Signed-off-by: Justus Winter <justus@g10code.com>
2016-06-17 11:38:00 +02:00
..
COPYING tests/gpgscm: Verbatim import of latest TinySCHEME. 2016-06-17 11:36:27 +02:00
init.scm tests/gpgscm: Make exception value available. 2016-06-17 11:38:00 +02:00
Manual.txt tests/gpgscm: Verbatim import of latest TinySCHEME. 2016-06-17 11:36:27 +02:00
opdefines.h tests/gpgscm: Verbatim import of latest TinySCHEME. 2016-06-17 11:36:27 +02:00
scheme-private.h tests/gpgscm: Foreign objects support for TinySCHEME. 2016-06-17 11:38:00 +02:00
scheme.c tests/gpgscm: Foreign objects support for TinySCHEME. 2016-06-17 11:38:00 +02:00
scheme.h tests/gpgscm: Foreign objects support for TinySCHEME. 2016-06-17 11:38:00 +02:00