From d8969d87dcc9eea3f186a0c93c5e48d3d1659e05 Mon Sep 17 00:00:00 2001 From: Jay Kwak <82421531+jkwak-work@users.noreply.github.com> Date: Fri, 25 Oct 2024 15:59:17 -0700 Subject: Replace stdlib with core-module on files and projects (#5411) This commit renames the files and projects to prefer "core-module" over "stdlib". The directory name `source/slang-stdlib` needs to be renamed too, and there will be another commit for it soon. --- source/slang-stdlib/slang-embedded-stdlib.cpp | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 source/slang-stdlib/slang-embedded-stdlib.cpp (limited to 'source/slang-stdlib/slang-embedded-stdlib.cpp') diff --git a/source/slang-stdlib/slang-embedded-stdlib.cpp b/source/slang-stdlib/slang-embedded-stdlib.cpp deleted file mode 100644 index 83e4a8c70..000000000 --- a/source/slang-stdlib/slang-embedded-stdlib.cpp +++ /dev/null @@ -1,26 +0,0 @@ -#include "../core/slang-basic.h" -#include "../core/slang-array-view.h" -#include "../core/slang-blob.h" - -#ifdef SLANG_EMBED_STDLIB - -static const uint8_t g_coreModule[] = -{ -# include "slang-stdlib-generated.h" -}; - -static Slang::StaticBlob g_coreModuleBlob((const void*)g_coreModule, sizeof(g_coreModule)); - -SLANG_API ISlangBlob* slang_getEmbeddedCoreModule() -{ - return &g_coreModuleBlob; -} - -#else - -SLANG_API ISlangBlob* slang_getEmbeddedCoreModule() -{ - return nullptr; -} - -#endif -- cgit v1.2.3