gpgscm: Fix property lists.
authorJustus Winter <justus@g10code.com>
Thu, 17 Nov 2016 17:03:22 +0000 (18:03 +0100)
committerJustus Winter <justus@g10code.com>
Tue, 22 Nov 2016 11:09:47 +0000 (12:09 +0100)
commitd8df80427238cdbb9ae0f6dae8bc7e9c24f6e265
tree3377d476496ecdff655e1ca5ea6341e6149008e2
parent7b4e2ea274ace22245264f1759279390d0300a62
gpgscm: Fix property lists.

* tests/gpgscm/opdefines.h (put, get): Check arguments.  Also rename
to 'set-symbol-property' and 'symbol-property', the names used by
Guile, because put and get are too unspecific.
* tests/gpgscm/scheme.c (hasprop): Only symbols have property lists.
(get_property): New function.
(set_property): Likewise.
(opexe_4): Use the new functions.

Signed-off-by: Justus Winter <justus@g10code.com>
tests/gpgscm/opdefines.h
tests/gpgscm/scheme.c