Fix bugzilla issue 24882 - COM class is allocated using GC not malloc

This commit is contained in:
Richard (Rikki) Andrew Cattermole 2024-11-26 17:09:50 +13:00 committed by The Dlang Bot
parent 8b1eb80d25
commit 6567f6f4a4
6 changed files with 35 additions and 1 deletions

View file

@ -0,0 +1,5 @@
New trait isCOMClass to detect if a type is a COM class
A COM class inherits from a possibly user defined interface called ``IUnknown``.
To detect this during compilation use the trait ``__traits(isCOMClass, Type)``.
Or for during runtime use the ``TypeInfo_Class`` flag.