summaryrefslogtreecommitdiffstats
path: root/slang.h
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-03-04 13:14:21 -0800
committerGitHub <noreply@github.com>2024-03-04 13:14:21 -0800
commit01efe34dbef2be952298075abd8d36cc67ac9f4e (patch)
treea3b73fa959ecf64a0d3a30a3f1ae43a8489b6c94 /slang.h
parent16342f4a6baa2e50d390c8835879fc056497aa4c (diff)
Add `IGlobalSession::getSessionDescDigest`. (#3669)
* Add `IGlobalSession::getSessionDescDigest`. * Fix.
Diffstat (limited to 'slang.h')
-rw-r--r--slang.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/slang.h b/slang.h
index 8e787ac28..b826707aa 100644
--- a/slang.h
+++ b/slang.h
@@ -3737,6 +3737,10 @@ namespace slang
*/
virtual SLANG_NO_THROW SlangResult SLANG_MCALL parseCommandLineArguments(
int argc, const char* const* argv, SessionDesc* outSessionDesc, ISlangUnknown** outAuxAllocation) = 0;
+
+ /** Computes a digest that uniquely identifies the session description.
+ */
+ virtual SLANG_NO_THROW SlangResult SLANG_MCALL getSessionDescDigest(SessionDesc* sessionDesc, ISlangBlob** outBlob) = 0;
};
#define SLANG_UUID_IGlobalSession IGlobalSession::getTypeGuid()