aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpgscm/t-child.c
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2016-03-31 11:49:56 +0000
committerJustus Winter <[email protected]>2016-06-17 09:38:00 +0000
commit56c36f2932fe2baf8e46efdea4315cf33f3c0338 (patch)
tree4d7bbf6ad0c7660c836b94aded9cc1af7e366a69 /tests/gpgscm/t-child.c
parenttests/gpgscm: Dynamically allocate string buffer. (diff)
downloadgnupg-56c36f2932fe2baf8e46efdea4315cf33f3c0338.tar.gz
gnupg-56c36f2932fe2baf8e46efdea4315cf33f3c0338.zip
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 <[email protected]>
Diffstat (limited to 'tests/gpgscm/t-child.c')
0 files changed, 0 insertions, 0 deletions