summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-core-module.cpp
diff options
context:
space:
mode:
authorJay Kwak <82421531+jkwak-work@users.noreply.github.com>2024-10-28 16:40:53 -0700
committerGitHub <noreply@github.com>2024-10-28 16:40:53 -0700
commitb7a619b45b0745f166d2dcc5985b994fb1d85d13 (patch)
treea1fbae9702899bf574624641f31bf17d9dd54999 /source/slang/slang-core-module.cpp
parent80471601720e107f0914479f6097281d0840cf18 (diff)
Replace the word stdlib or standard-library with core-module for source code (#5415)
This commit changes the word "stdlib" or "standard library" to "core module" in the source code.
Diffstat (limited to 'source/slang/slang-core-module.cpp')
-rw-r--r--source/slang/slang-core-module.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/slang/slang-core-module.cpp b/source/slang/slang-core-module.cpp
index 8867ba1c3..5b163e594 100644
--- a/source/slang/slang-core-module.cpp
+++ b/source/slang/slang-core-module.cpp
@@ -8,9 +8,9 @@
namespace Slang
{
- String Session::getStdlibPath()
+ String Session::getCoreModulePath()
{
- if(stdlibPath.getLength() == 0)
+ if(coreModulePath.getLength() == 0)
{
// Make sure we have a line of text from __FILE__, that we'll extract the filename from
List<UnownedStringSlice> lines;
@@ -18,8 +18,8 @@ namespace Slang
SLANG_ASSERT(lines.getCount() > 0 && lines[0].getLength() > 0);
// Make the path just the filename to remove issues around path being included on different targets
- stdlibPath = Path::getFileName(lines[0]);
+ coreModulePath = Path::getFileName(lines[0]);
}
- return stdlibPath;
+ return coreModulePath;
}
}