From 9566e8af25f87ad034a984db9d847942e454a180 Mon Sep 17 00:00:00 2001 From: Yong He Date: Mon, 25 Jul 2022 10:08:28 -0700 Subject: 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 --- tools/slang-unit-test/unit-test-com-host-callable.slang | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') 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(); -- cgit v1.2.3