aboutsummaryrefslogtreecommitdiff
path: root/build2/algorithm.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/algorithm.hxx')
-rw-r--r--build2/algorithm.hxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/build2/algorithm.hxx b/build2/algorithm.hxx
index 49ca7a7..fc5e02a 100644
--- a/build2/algorithm.hxx
+++ b/build2/algorithm.hxx
@@ -24,6 +24,11 @@ namespace build2
const target&
search (const target&, const prerequisite&);
+ // As above but only search for an already existing target.
+ //
+ const target*
+ search_existing (const target&, const prerequisite&);
+
// As above but specify the prerequisite to search as a key.
//
const target&
@@ -72,9 +77,8 @@ namespace build2
const target&
search (const target&, name, const scope&);
- // As above but only search for an already existing target. Unlike the above
- // version, this one can be called during the execute phase. Return NULL for
- // unknown target types.
+ // Unlike the above version, this one can be called during the execute
+ // phase. Return NULL for unknown target types.
//
const target*
search_existing (const name&,