summaryrefslogtreecommitdiff
path: root/prelude
diff options
context:
space:
mode:
Diffstat (limited to 'prelude')
-rw-r--r--prelude/slang-cpp-host-prelude.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/prelude/slang-cpp-host-prelude.h b/prelude/slang-cpp-host-prelude.h
index 90087d158..37f28f8d6 100644
--- a/prelude/slang-cpp-host-prelude.h
+++ b/prelude/slang-cpp-host-prelude.h
@@ -5,12 +5,13 @@
#include <cmath>
#include <cstring>
-#include "../source/core/slang-string.h"
-#include "../source/core/slang-smart-pointer.h"
+#include "../source/slang-rt/slang-rt.h"
#include "../slang-com-ptr.h"
-#include "../slang-gfx.h"
+#include "slang-cpp-types.h"
using namespace Slang;
-using namespace gfx;
+
+template<typename TResult, typename... Args>
+using Slang_FuncType = TResult(SLANG_MCALL *)(Args...);
#endif