[Issue 23315] Interface requires vtbl symbol betterC COM
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Aug 30 18:25:39 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23315
Paul Backus <snarwin+bugzilla at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |snarwin+bugzilla at gmail.com
--- Comment #1 from Paul Backus <snarwin+bugzilla at gmail.com> ---
According to the language spec [1]:
> A COM interface is defined as one that derives from the interface core.stdc.windows.com.IUnknown.
So, the example given in this issue is not a COM interface, and therefore
should not be expected to work in BetterC (even if LDC allows it as a language
extension).
[1] https://dlang.org/spec/interface.html#com-interfaces
--
More information about the Digitalmars-d-bugs
mailing list