Passing static array to C variadic function

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Sun Jul 20 09:37:20 PDT 2014


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


More information about the Digitalmars-d mailing list