extern(C) and mangling type names

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 15 02:59:25 PST 2017


On Wednesday, 15 February 2017 at 03:40:32 UTC, Mike Parker wrote:
> My specific use case is a binding to a C library that makes use 
> of specific types from X11, Wayland and elsewhere.

If X11.Foo is implicitly convertible to forward reference Foo and 
forward reference Foo is implicitly convertible to Wayland.Foo, 
then X11.Foo is implicitly convertible to Wayland.Foo.


More information about the Digitalmars-d mailing list