summaryrefslogtreecommitdiffstats
path: root/source/core/slang-shared-library.cpp
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2019-06-18 18:22:43 -0400
committerTim Foley <tfoleyNV@users.noreply.github.com>2019-06-18 15:22:43 -0700
commite213e394d5008cb7bf08bbf875acd494259f5847 (patch)
tree75a82a19aaf6be8204c1f8b4ceb446d02a1f06d7 /source/core/slang-shared-library.cpp
parent896e460dc8146bc9a39296ea72f320fe3db28cee (diff)
* Added Path::combineBuilder, so as two sub paths can be combined into a StringBuilder (#988)
* Renamed and improved comments on SharedLibrary
Diffstat (limited to 'source/core/slang-shared-library.cpp')
-rw-r--r--source/core/slang-shared-library.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}