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.cpp26
1 files changed, 0 insertions, 26 deletions
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