summaryrefslogtreecommitdiffstats
path: root/source/slang-stdlib/slang-embedded-stdlib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang-stdlib/slang-embedded-stdlib.cpp')
-rw-r--r--source/slang-stdlib/slang-embedded-stdlib.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/slang-stdlib/slang-embedded-stdlib.cpp b/source/slang-stdlib/slang-embedded-stdlib.cpp
index 87107fa50..83e4a8c70 100644
--- a/source/slang-stdlib/slang-embedded-stdlib.cpp
+++ b/source/slang-stdlib/slang-embedded-stdlib.cpp
@@ -4,21 +4,21 @@
#ifdef SLANG_EMBED_STDLIB
-static const uint8_t g_stdLib[] =
+static const uint8_t g_coreModule[] =
{
# include "slang-stdlib-generated.h"
};
-static Slang::StaticBlob g_stdLibBlob((const void*)g_stdLib, sizeof(g_stdLib));
+static Slang::StaticBlob g_coreModuleBlob((const void*)g_coreModule, sizeof(g_coreModule));
-SLANG_API ISlangBlob* slang_getEmbeddedStdLib()
+SLANG_API ISlangBlob* slang_getEmbeddedCoreModule()
{
- return &g_stdLibBlob;
+ return &g_coreModuleBlob;
}
#else
-SLANG_API ISlangBlob* slang_getEmbeddedStdLib()
+SLANG_API ISlangBlob* slang_getEmbeddedCoreModule()
{
return nullptr;
}