mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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 <justus@g10code.com>
This commit is contained in:
parent
e1bb9326dc
commit
a1ad5d6a30
3 changed files with 2 additions and 22 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue