Daniel Gibson:

For "normal" functions http://dlang.org/interfaceToC.html tells me to add a "ref" in the function signature, to tell D to pass it by reference (couldn't this be implicit for extern (C) functions?)

I don't know why D isn't adapting such things to the needs of C.

Bye,
bearophile

Reply via email to