mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpgscm: Make the compile-hook configurable.
* tests/gpgscm/scheme-private.h (struct scheme): Make field 'COMPILE_HOOK' optional. * tests/gpgscm/scheme.c (opexe_0): Fix guard. (scheme_init_custom_alloc): Conditionally initialize 'COMPILE_HOOK'. * tests/gpgscm/scheme.h (USE_COMPILE_HOOK): Define to 1 by default. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
9ee184bc0a
commit
568cfcde45
3 changed files with 12 additions and 1 deletions
|
@ -115,7 +115,9 @@ pointer FEED_TO; /* => */
|
|||
pointer COLON_HOOK; /* *colon-hook* */
|
||||
pointer ERROR_HOOK; /* *error-hook* */
|
||||
pointer SHARP_HOOK; /* *sharp-hook* */
|
||||
#if USE_COMPILE_HOOK
|
||||
pointer COMPILE_HOOK; /* *compile-hook* */
|
||||
#endif
|
||||
|
||||
pointer free_cell; /* pointer to top of free cells */
|
||||
long fcells; /* # of free cells */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue