pragma(mangle)

Daniel Murphy yebblies at nospamgmail.com
Sat Jun 11 13:47:14 PDT 2011


Stealing the idea from http://d.puremagic.com/issues/show_bug.cgi?id=2698, 
I've implemented pragma(mangle).

Basically,
pragma(mangle, "_mangled__name_")
void myfunction() {}

Will cause the compiler to use "_mangled__name_" as the function's mangle 
string.

Would many people find this a useful thing to have in the compiler?

Also, does anybody know what set of characters to accept in a mangle string? 




More information about the Digitalmars-d mailing list