From ece4003beebd23082a5fd7a324de40c5572161d1 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 16 Mar 2017 10:35:32 +0200 Subject: Add support for passing parameters to (meta-) operations --- build2/operation.cxx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'build2/operation.cxx') diff --git a/build2/operation.cxx b/build2/operation.cxx index b821b1d..9656e2a 100644 --- a/build2/operation.cxx +++ b/build2/operation.cxx @@ -44,7 +44,8 @@ namespace build2 // perform // void - load (scope& root, + load (const values&, + scope& root, const path& bf, const dir_path& out_base, const dir_path& src_base, @@ -67,7 +68,8 @@ namespace build2 } void - search (const scope&, + search (const values&, + const scope&, const scope& bs, const target_key& tk, const location& l, @@ -89,7 +91,7 @@ namespace build2 } void - match (action a, action_targets& ts) + match (const values&, action a, action_targets& ts) { tracer trace ("match"); @@ -191,7 +193,7 @@ namespace build2 } void - execute (action a, action_targets& ts, bool quiet) + execute (const values&, action a, action_targets& ts, bool quiet) { tracer trace ("execute"); -- cgit v1.1