diff options
| author | Christoph Berg <myon@debian.org> | 2018-12-19 22:58:32 +0100 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2018-12-19 22:58:32 +0100 |
| commit | e0737c56c1e384e05064a0c6e1ac46979371041b (patch) | |
| tree | a0123d694a2d36c43dabdf0a3907392fce11d457 /boost/tools/build/src/engine/variable.h | |
| parent | b4aebf2d137b892f53503b13785ecae900062ff7 (diff) | |
New upstream version 2.0.0+repackupstream/2.0.0+repack
Diffstat (limited to 'boost/tools/build/src/engine/variable.h')
| -rw-r--r-- | boost/tools/build/src/engine/variable.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/boost/tools/build/src/engine/variable.h b/boost/tools/build/src/engine/variable.h new file mode 100644 index 00000000..ddb452bc --- /dev/null +++ b/boost/tools/build/src/engine/variable.h @@ -0,0 +1,34 @@ +/* + * Copyright 1993, 2000 Christopher Seiwald. + * + * This file is part of Jam - see jam.c for Copyright information. + */ + +/* + * variable.h - handle jam multi-element variables + */ + +#ifndef VARIABLE_SW20111119_H +#define VARIABLE_SW20111119_H + +#include "lists.h" +#include "object.h" + + +struct module_t; + +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 */ + +#endif |
