diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-01-25 15:41:44 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-13 12:39:24 +0200 |
commit | 88f0780e34116c0441a8d8c58b8a8fd9fde4b1f5 (patch) | |
tree | 1240b36211772479dc1220712e0daed4e35ecd85 /build2/file | |
parent | 61aa8e2b4bd7849838c04dc1f421c4760d88319f (diff) |
Add model mutex, make var_pool const by default
Diffstat (limited to 'build2/file')
-rw-r--r-- | build2/file | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build2/file b/build2/file index c8d8f6f..adfd884 100644 --- a/build2/file +++ b/build2/file @@ -56,18 +56,18 @@ namespace build2 // If buildfile is '-', then read from STDIN. // void - source (const path& buildfile, scope& root, scope& base); + source (scope& root, scope& base, const path&); // As above but first check if this buildfile has already been sourced for // the base scope. Return false if the file has already been sourced. // bool - source_once (const path& buildfile, scope& root, scope& base); + source_once (scope& root, scope& base, const path&); // As above but checks against the specified scope rather than base. // bool - source_once (const path& buildfile, scope& root, scope& base, scope& once); + source_once (scope& root, scope& base, const path&, scope& once); // Create project's root scope. Only set the src_root variable if the // passed src_root value is not empty. @@ -143,7 +143,7 @@ namespace build2 // an indication of whether the variable was found. // pair<value, bool> - extract_variable (const path&, const char* var); + extract_variable (const path&, const variable&); // Import has two phases: the first is triggered by the import // directive in the buildfile. It will try to find and load the |