2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-11 23:52:20 +00:00
Files
build/src/engine/variable.h
Dave Abrahams 99d874e63d Warning suppression
[SVN r14059]
2002-05-29 14:17:13 +00:00

29 lines
679 B
C

/*
* Copyright 1993, 2000 Christopher Seiwald.
*
* This file is part of Jam - see jam.c for Copyright information.
*/
/*
* variable.h - handle jam multi-element variables
*/
struct hash;
void var_defines( char **e );
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** );
/*
* 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 */