aboutsummaryrefslogtreecommitdiff
path: root/src/function.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-09-20 18:56:49 +0000
committerMike Buland <eichlan@xagasoft.com>2006-09-20 18:56:49 +0000
commit85539c8c262c0c9e227c87fd1de02c53c163b7d8 (patch)
treeb6f96899ca745c157a6de93ad27013416976fc06 /src/function.h
parent5a32418a040e967887aa6e01e41abc22932471db (diff)
downloadbuild-85539c8c262c0c9e227c87fd1de02c53c163b7d8.tar.gz
build-85539c8c262c0c9e227c87fd1de02c53c163b7d8.tar.bz2
build-85539c8c262c0c9e227c87fd1de02c53c163b7d8.tar.xz
build-85539c8c262c0c9e227c87fd1de02c53c163b7d8.zip
Changed the api for variable replacement contexts. There can now be multiple
levels of contextual inheritance, so now sub-targets automatically get their parent target's context variables, if they need them.
Diffstat (limited to '')
-rw-r--r--src/function.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/function.h b/src/function.h
index 7035d2f..af0d3fc 100644
--- a/src/function.h
+++ b/src/function.h
@@ -12,8 +12,8 @@ public:
12 12
13 void addParam( const char *str ); 13 void addParam( const char *str );
14 virtual void execute( Build *bld, const StringList &lInput, StringList &lOutput )=0; 14 virtual void execute( Build *bld, const StringList &lInput, StringList &lOutput )=0;
15 virtual Function *duplicate( Build &bld, const std::string &cont, VarMap *mExtra ) = 0; 15 virtual Function *duplicate( Build &bld, const StringList *cont, VarMap *mExtra ) = 0;
16 void copyData( Function *pSrc, Build &bld, const std::string &cont, VarMap *mExtra ); 16 void copyData( Function *pSrc, Build &bld, const StringList *cont, VarMap *mExtra );
17 17
18protected: 18protected:
19 StringList lParams; 19 StringList lParams;