From 631c76d7613458dbef208ca056e194e94a5becf3 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 30 Aug 2017 22:58:52 +0300 Subject: Make $getenv() to return untyped value --- build2/name.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'build2/name.hxx') diff --git a/build2/name.hxx b/build2/name.hxx index c341cc9..388415b 100644 --- a/build2/name.hxx +++ b/build2/name.hxx @@ -104,6 +104,13 @@ namespace build2 string to_string (const name&); + // Store a string in a name in a reversible way. If the string ends with a + // trailing directory separator then it is stored as a directory, otherwise + // as a simple name. + // + name + to_name (string); + // Serialize the name to the stream. If requested, the name components // containing special characters are quoted. The special characters are: // -- cgit v1.1