aboutsummaryrefslogtreecommitdiff
path: root/build2/search
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-02-15 03:55:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-03-02 14:03:34 +0200
commitb37f1aa6398065be806e6605a023189685669885 (patch)
treeb9b32091e3d70a31852302b24c99ecb62465464a /build2/search
parenta64b2ae2099346471ead988d5f2d383d55a9bf89 (diff)
Implement parallel match
Diffstat (limited to 'build2/search')
-rw-r--r--build2/search6
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/search b/build2/search
index 85b4d85..92521bc 100644
--- a/build2/search
+++ b/build2/search
@@ -15,7 +15,7 @@ namespace build2
// Search for an existing target in this prerequisite's scope.
//
- target*
+ const target*
search_existing_target (const prerequisite_key&);
// Search for an existing file in the scope's src directory. Prerequisite
@@ -24,12 +24,12 @@ namespace build2
// Originally the plan was to have a target-type specific variable that
// contains the search paths. But there wasn't any need for this yet.
//
- target*
+ const target*
search_existing_file (const prerequisite_key&);
// Create a new target in this prerequisite's scope.
//
- target&
+ const target&
create_new_target (const prerequisite_key&);
}