summaryrefslogtreecommitdiffstats
path: root/prelude
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-03-28 22:14:33 -0700
committerGitHub <noreply@github.com>2022-03-28 22:14:33 -0700
commit255fd5873f65a6b01d5385c277d55612dc3cc587 (patch)
tree54eda0ae98bc9c1b30ca75e534ca203d8e03f241 /prelude
parent79b81083b75dc0abdbb8184568dbe36d082e04f3 (diff)
Allow slangc to generate exe from .slang file. (#2170)
Diffstat (limited to 'prelude')
-rw-r--r--prelude/slang-cpp-host-prelude.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/prelude/slang-cpp-host-prelude.h b/prelude/slang-cpp-host-prelude.h
new file mode 100644
index 000000000..90087d158
--- /dev/null
+++ b/prelude/slang-cpp-host-prelude.h
@@ -0,0 +1,16 @@
+#ifndef SLANG_CPP_HOST_PRELUDE_H
+#define SLANG_CPP_HOST_PRELUDE_H
+
+#include <cstdio>
+#include <cmath>
+#include <cstring>
+
+#include "../source/core/slang-string.h"
+#include "../source/core/slang-smart-pointer.h"
+#include "../slang-com-ptr.h"
+#include "../slang-gfx.h"
+
+using namespace Slang;
+using namespace gfx;
+
+#endif