pragma(mangle)

Robert Clipsham robert at octarineparrot.com
Sat Jun 11 15:45:13 PDT 2011


On 11/06/2011 23:15, Andrej Mitrovic wrote:
> On 6/11/11, Daniel Murphy<yebblies at nospamgmail.com>  wrote:
>> You could use it, for example, to provide a function with C++ linkage taking
>> a C++ long parameter, something which I think is currently impossible in D.
>
> I assumed I must have been doing something wrong when I filed this:
> http://d.puremagic.com/issues/show_bug.cgi?id=6121 . But I guess not.
> I can't link DDMD with the DMD 2.053 backend because of this. I'd have
> to change DMD's long types to int, which might not be a big issue but
> I'd rather avoid having to patch every release..

When I was working on ddmd this was worked around with a wrapper C file 
that wrapped the functions with long parameters in functions D accepted. 
Is that file no longer there?

-- 
Robert
http://octarineparrot.com/


More information about the Digitalmars-d mailing list