summaryrefslogtreecommitdiff
path: root/slang.h
diff options
context:
space:
mode:
Diffstat (limited to 'slang.h')
-rw-r--r--slang.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/slang.h b/slang.h
index 583072686..281aeba6a 100644
--- a/slang.h
+++ b/slang.h
@@ -1055,10 +1055,14 @@ extern "C"
#define SLANG_UUID_ISlangWriter { 0xec457f0e, 0x9add, 0x4e6b,{ 0x85, 0x1c, 0xd7, 0xfa, 0x71, 0x6d, 0x15, 0xfd } };
+ namespace slang {
+ struct IGlobalSession;
+ } // namespace slang
+
/*!
@brief An instance of the Slang library.
*/
- typedef struct SlangSession SlangSession;
+ typedef slang::IGlobalSession SlangSession;
typedef struct SlangProgramLayout SlangProgramLayout;