diff options
| author | Yong He <yonghe@outlook.com> | 2024-06-12 09:45:50 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-12 09:45:50 -0700 |
| commit | ccc26c2d22d471ae649bf16f37ed1cd6cfbddd1b (patch) | |
| tree | f1b84f6c30d2f8aa5014587ef1b7995ae51996e4 /slang.h | |
| parent | 318adcc27b8d89ec1d47c445a93239dd81be0b31 (diff) | |
Extend the COM-based API to support whole program compilation. (#4355)
Diffstat (limited to 'slang.h')
| -rw-r--r-- | slang.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -4953,6 +4953,11 @@ namespace slang uint32_t compilerOptionEntryCount, CompilerOptionEntry* compilerOptionEntries, ISlangBlob** outDiagnostics = nullptr) = 0; + + virtual SLANG_NO_THROW SlangResult SLANG_MCALL getTargetCode( + SlangInt targetIndex, + IBlob** outCode, + IBlob** outDiagnostics = nullptr) = 0; }; #define SLANG_UUID_IComponentType IComponentType::getTypeGuid() |
