summaryrefslogtreecommitdiff
path: root/include/slang.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/slang.h')
-rw-r--r--include/slang.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/slang.h b/include/slang.h
index 05ab1a0ce..3df31f0f0 100644
--- a/include/slang.h
+++ b/include/slang.h
@@ -5444,6 +5444,10 @@ namespace slang
SlangInt32 index) = 0;
virtual SLANG_NO_THROW DeclReflection* SLANG_MCALL getModuleReflection() = 0;
+
+ virtual SLANG_NO_THROW SlangResult SLANG_MCALL precompileForTarget(
+ SlangCompileTarget target,
+ ISlangBlob** outDiagnostics) = 0;
};
#define SLANG_UUID_IModule IModule::getTypeGuid()