#include C headers in D code

Atila Neves atila.neves at gmail.com
Wed Apr 11 10:15:04 UTC 2018


On Wednesday, 11 April 2018 at 06:21:47 UTC, Jacob Carlborg wrote:
> On Tuesday, 10 April 2018 at 23:44:46 UTC, Atila Neves wrote:
>
>> The beauty of using libclang is that name mangling issues 
>> don't exist. :)
>
> How is that not going to be an issue? Are you adding 
> `pragma(mangle)` everywhere?

Yes.

I don't know how to deal with class templates yet though, since 
none of their member functions have mangled symbols until they're 
instantiated. Which obviously doesn't happen at the declaration.



More information about the Digitalmars-d-announce mailing list