diff options
author | Justus Winter <[email protected]> | 2017-03-29 16:05:33 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2017-04-10 12:57:30 +0000 |
commit | a1ad5d6a30cf72d9b7e7bb449985dc69d5e01c4b (patch) | |
tree | da8d383c744d35379149f8f426f837d161535063 /tests/gpgscm/scheme.h | |
parent | gpgscm: Add and use opcode for reversing a list in place. (diff) | |
download | gnupg-a1ad5d6a30cf72d9b7e7bb449985dc69d5e01c4b.tar.gz gnupg-a1ad5d6a30cf72d9b7e7bb449985dc69d5e01c4b.zip |
gpgscm: Make tags mandatory.
* tests/gpgscm/opdefines.h: Make tags mandatory.
* tests/gpgscm/scheme.c: Likewise.
* tests/gpgscm/scheme.h: Likewise.
--
Tags provide a constant-time lookup mechanism for almost every object.
This is useful for the interpreter itself, and the code for tags is
tiny.
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'tests/gpgscm/scheme.h')
-rw-r--r-- | tests/gpgscm/scheme.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/gpgscm/scheme.h b/tests/gpgscm/scheme.h index 8560f7d9d..d7481865d 100644 --- a/tests/gpgscm/scheme.h +++ b/tests/gpgscm/scheme.h @@ -44,7 +44,6 @@ extern "C" { # define USE_DL 0 # define USE_PLIST 0 # define USE_SMALL_INTEGERS 0 -# define USE_TAGS 0 # define USE_HISTORY 0 #endif @@ -78,11 +77,6 @@ extern "C" { # define USE_PLIST 0 #endif -/* If set, then every object can be tagged. */ -#ifndef USE_TAGS -# define USE_TAGS 1 -#endif - /* Keep a history of function calls. This enables a feature similar * to stack traces. */ #ifndef USE_HISTORY |