From 68b0125226464cb3c9e9b7f50bfb53cda97723b4 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 6 Aug 2025 01:07:41 -0700 Subject: Add reflection api for overload candidate filtering. (#8066) * Add reflection api for overload candidate filtering. * Fix API. * Fix. * Update build. * Update test. * Update formatting. --- include/slang-deprecated.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/slang-deprecated.h') diff --git a/include/slang-deprecated.h b/include/slang-deprecated.h index f210e8c48..32db65007 100644 --- a/include/slang-deprecated.h +++ b/include/slang-deprecated.h @@ -904,6 +904,10 @@ extern "C" SlangReflection* reflection, SlangReflectionType* reflType, char const* name); + SLANG_API SlangReflectionFunction* spReflection_TryResolveOverloadedFunction( + SlangReflection* reflection, + uint32_t candidateCount, + SlangReflectionFunction** candidates); SLANG_API SlangUInt spReflection_getEntryPointCount(SlangReflection* reflection); SLANG_API SlangReflectionEntryPoint* spReflection_getEntryPointByIndex( -- cgit v1.2.3