diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-04-27 09:34:07 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-04-27 09:34:07 +0200 |
commit | 64eb9a61dd9bdac1006821af187f48df19b64792 (patch) | |
tree | 10244403b9d06c4e06728c3d85fb3d68cc374846 /libbuild2/algorithm.hxx | |
parent | ab6917b035a8431a13d85396ed15b75dabe44b36 (diff) |
Add another search_existing() overload
Diffstat (limited to 'libbuild2/algorithm.hxx')
-rw-r--r-- | libbuild2/algorithm.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libbuild2/algorithm.hxx b/libbuild2/algorithm.hxx index 28b76c4..ad4ee74 100644 --- a/libbuild2/algorithm.hxx +++ b/libbuild2/algorithm.hxx @@ -101,6 +101,9 @@ namespace build2 const scope&, const dir_path& out = dir_path ()); + LIBBUILD2_SYMEXPORT const target* + search_existing (const names&, const scope&); + // Target match lock: a non-const target reference and the target::offset_* // state that has already been "achieved". Note that target::task_count // itself is set to busy for the duration or the lock. While at it we also |