From babe8e78d9f431d5f751859d159bbb3df37987c7 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Wed, 19 Jun 2019 16:54:12 -0400 Subject: Feature/shared library review (#992) * Added setNull to RefPtr Renamed combineBuilder into combineIntoBuilder * Added Path::append --- source/core/slang-io.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/core/slang-io.h') diff --git a/source/core/slang-io.h b/source/core/slang-io.h index 91cfaf290..da63e9c20 100644 --- a/source/core/slang-io.h +++ b/source/core/slang-io.h @@ -34,7 +34,10 @@ namespace Slang static String combine(const String& path1, const String& path2, const String& path3); /// Combine path sections and store the result in outBuilder - static void combineBuilder(const UnownedStringSlice& path1, const UnownedStringSlice& path2, StringBuilder& outBuilder); + static void combineIntoBuilder(const UnownedStringSlice& path1, const UnownedStringSlice& path2, StringBuilder& outBuilder); + + /// Append a path, taking into account path separators onto the end of ioBuilder + static void append(StringBuilder& ioBuilder, const UnownedStringSlice& path); static bool createDirectory(const String& path); -- cgit v1.2.3