diff options
Diffstat (limited to 'jam-files/engine/variable.h')
-rw-r--r-- | jam-files/engine/variable.h | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/jam-files/engine/variable.h b/jam-files/engine/variable.h index aa27d56d6..ddb452bc1 100644 --- a/jam-files/engine/variable.h +++ b/jam-files/engine/variable.h @@ -11,20 +11,24 @@ #ifndef VARIABLE_SW20111119_H #define VARIABLE_SW20111119_H +#include "lists.h" +#include "object.h" + + struct module_t; -void var_defines( struct module_t * module, char * const * e, int preprocess ); -LIST * var_get( struct module_t * module, OBJECT * symbol ); -void var_set( struct module_t * module, OBJECT * symbol, LIST * value, int flag ); -LIST * var_swap( struct module_t * module, OBJECT * symbol, LIST * value ); -void var_done( struct module_t * module ); +void var_defines( struct module_t *, char * const * e, int preprocess ); +LIST * var_get( struct module_t *, OBJECT * symbol ); +void var_set( struct module_t *, OBJECT * symbol, LIST * value, int flag ); +LIST * var_swap( struct module_t *, OBJECT * symbol, LIST * value ); +void var_done( struct module_t * ); /* * Defines for var_set(). */ -# define VAR_SET 0 /* override previous value */ -# define VAR_APPEND 1 /* append to previous value */ -# define VAR_DEFAULT 2 /* set only if no previous value */ +#define VAR_SET 0 /* override previous value */ +#define VAR_APPEND 1 /* append to previous value */ +#define VAR_DEFAULT 2 /* set only if no previous value */ #endif |