From e213e394d5008cb7bf08bbf875acd494259f5847 Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Tue, 18 Jun 2019 18:22:43 -0400 Subject: * Added Path::combineBuilder, so as two sub paths can be combined into a StringBuilder (#988) * Renamed and improved comments on SharedLibrary --- source/core/slang-shared-library.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/core/slang-shared-library.cpp') diff --git a/source/core/slang-shared-library.cpp b/source/core/slang-shared-library.cpp index 009abf921..9932db0b5 100644 --- a/source/core/slang-shared-library.cpp +++ b/source/core/slang-shared-library.cpp @@ -99,7 +99,7 @@ SlangResult ConfigurableSharedLibraryLoader::loadSharedLibrary(const char* path, { SLANG_UNUSED(pathIn); // The replacement is the *whole* string - return SharedLibrary::loadWithPlatformFilename(entryString.begin(), handleOut); + return SharedLibrary::loadWithPlatformPath(entryString.begin(), handleOut); } /* static */Result ConfigurableSharedLibraryLoader::changePath(const char* pathIn, const String& entryString, SharedLibrary::Handle& handleOut ) @@ -109,7 +109,7 @@ SlangResult ConfigurableSharedLibraryLoader::loadSharedLibrary(const char* path, SharedLibrary::appendPlatformFileName(UnownedStringSlice(pathIn), builder); String path = Path::combine(entryString, builder); - return SharedLibrary::loadWithPlatformFilename(path.begin(), handleOut); + return SharedLibrary::loadWithPlatformPath(path.begin(), handleOut); } -- cgit v1.2.3