aboutsummaryrefslogtreecommitdiff
path: root/build/file
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-04-13 15:50:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-04-13 15:50:17 +0200
commitace1743f7f78bb13f99553d6e97ad1beecf1ba99 (patch)
tree595bc9dad989e44f4be9a67e351219f3248dc5f0 /build/file
parent534f9d8db025d58c9ce23f3b81a37e8c34386a27 (diff)
Add separate type to represent directory paths
Diffstat (limited to 'build/file')
-rw-r--r--build/file8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/file b/build/file
index 32cac48..937be1b 100644
--- a/build/file
+++ b/build/file
@@ -14,10 +14,10 @@ namespace build
struct location;
bool
- is_src_root (const path&);
+ is_src_root (const dir_path&);
bool
- is_out_root (const path&);
+ is_out_root (const dir_path&);
void
source (const path& buildfile, scope& root, scope& base);
@@ -37,7 +37,7 @@ namespace build
// passed src_root value is not empty.
//
scope&
- create_root (const path& out_root, const path& src_root);
+ create_root (const dir_path& out_root, const dir_path& src_root);
// Bootstrap the project's root scope, the out part.
//
@@ -61,7 +61,7 @@ namespace build
// none were created. Loading is done by load_root_pre() below.
//
scope&
- create_bootstrap_inner (scope& root, const path& out_base);
+ create_bootstrap_inner (scope& root, const dir_path& out_base);
// Load project's root[-pre].build unless already loaded. Also
// make sure all outer root scopes are loaded prior to loading