pragma(mangle) on types
Steven Schveighoffer via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jul 11 05:13:11 PDT 2017
On 7/11/17 3:28 AM, Jacob Carlborg wrote:
> In D it's possible to use pragma(mangle) on a function to set the name
> that will actually end up in the binary. This is useful if you need to
> link to a C function that uses the same name as a keyword in D.
>
> I think we need the same thing for types as well. This is important when
> binding to C++ and Objective-C.
[snip]
All sounds good to me.
-Steve
More information about the Digitalmars-d
mailing list