linker aliases to carry dlang attributes for externs

Bruce Carneal bcarneal at gmail.com
Sun Apr 12 23:14:42 UTC 2020


Could dlang compilers emit aliases for extern(C) and extern(C++) 
routines that would carry dlang specific information?  (@safe, 
@nogc, nothrow, ...)

I'm thinking two symbols.  The first as per normal C/C++, and the 
second as per normal dlang with a "use API {C, C++, ...}" suffix.



More information about the Digitalmars-d-learn mailing list