diff options
Diffstat (limited to 'tools/build/v2/engine/variable.h')
-rw-r--r-- | tools/build/v2/engine/variable.h | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/tools/build/v2/engine/variable.h b/tools/build/v2/engine/variable.h index 5c49e3ca55..aa27d56d6b 100644 --- a/tools/build/v2/engine/variable.h +++ b/tools/build/v2/engine/variable.h @@ -8,22 +8,16 @@ * variable.h - handle jam multi-element variables */ -struct hash; +#ifndef VARIABLE_SW20111119_H +#define VARIABLE_SW20111119_H -void var_defines( char* const *e, int preprocess ); -int var_string( char *in, char *out, int outsize, LOL *lol ); -LIST * var_get( char *symbol ); -void var_set( char *symbol, LIST *value, int flag ); -LIST * var_swap( char *symbol, LIST *value ); -void var_done(); -void var_hash_swap( struct hash** ); +struct module_t; -/** Expands the "in" expression directly into the "out" file. - The file can be one of: a path, STDOUT, or STDERR to send - the output to a file overwriting previous content, to - the console, or to the error output respectively. -*/ -void var_string_to_file( const char * in, int insize, const char * out, LOL * lol ); +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 ); /* * Defines for var_set(). @@ -33,3 +27,4 @@ void var_string_to_file( const char * in, int insize, const char * out, LOL * lo # define VAR_APPEND 1 /* append to previous value */ # define VAR_DEFAULT 2 /* set only if no previous value */ +#endif |