From 85539c8c262c0c9e227c87fd1de02c53c163b7d8 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 20 Sep 2006 18:56:49 +0000 Subject: 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. --- src/function.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/function.h') 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: void addParam( const char *str ); virtual void execute( Build *bld, const StringList &lInput, StringList &lOutput )=0; - virtual Function *duplicate( Build &bld, const std::string &cont, VarMap *mExtra ) = 0; - void copyData( Function *pSrc, Build &bld, const std::string &cont, VarMap *mExtra ); + virtual Function *duplicate( Build &bld, const StringList *cont, VarMap *mExtra ) = 0; + void copyData( Function *pSrc, Build &bld, const StringList *cont, VarMap *mExtra ); protected: StringList lParams; -- cgit v1.2.3