"Robert Clipsham" <[email protected]> wrote in message news:[email protected]... > On 11/06/2011 23:15, Andrej Mitrovic wrote: >> On 6/11/11, Daniel Murphy<[email protected]> 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? >
Yea, it's still there: "bridge/bridge.cpp" I had wondered what exactly that was for. In retrospect, it probably would have been obvious if I had ever actually paid any attention to anything inside that file ;)
