From 01efe34dbef2be952298075abd8d36cc67ac9f4e Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 4 Mar 2024 13:14:21 -0800 Subject: Add `IGlobalSession::getSessionDescDigest`. (#3669) * Add `IGlobalSession::getSessionDescDigest`. * Fix. --- slang.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'slang.h') 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() -- cgit v1.2.3