summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-07-25 10:08:28 -0700
committerGitHub <noreply@github.com>2022-07-25 10:08:28 -0700
commit9566e8af25f87ad034a984db9d847942e454a180 (patch)
tree2f295bf2bf60c39fd35b6b634b903d574b4ca99e /tools
parent70147fc7ba6abe0b669363ed5adfd8d4d9545c3f (diff)
Allow `class` to implement COM interface, [DLLExport] (#2338)
* Allow `class` to implement COM interface, [DLLExport] * Fix [COM] usage in tests and examples with UUIDs. Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/slang-unit-test/unit-test-com-host-callable.slang4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/slang-unit-test/unit-test-com-host-callable.slang b/tools/slang-unit-test/unit-test-com-host-callable.slang
index b591904b3..75c985040 100644
--- a/tools/slang-unit-test/unit-test-com-host-callable.slang
+++ b/tools/slang-unit-test/unit-test-com-host-callable.slang
@@ -19,14 +19,14 @@ public __extern_cpp int getGlobal()
return intGlobal;
}
-[COM]
+[COM("9E0FCAF0-DE40-4CF1-A6A4-FF24814D32F2")]
interface IDoThings
{
int doThing(int a, int b);
int calcHash(NativeString in);
}
-[COM]
+[COM("4CEA3168-819E-4E79-987B-8C4FDE6C697D")]
interface ICountGood
{
int nextCount();