A summary of D's design principles

bearophile bearophileHUGS at lycos.com
Wed Sep 15 14:43:09 PDT 2010


Lars T. Kyllingstad:
> This can be amended by requiring that fixed-size array parameters to 
> extern(C) functions be marked as 'ref'.
> 
> See also:
> http://d.puremagic.com/issues/show_bug.cgi?id=3604

Sometimes I translate some C code to D, in this case I have to watch for all the arrays, and use the ref. To solve this porting problem (and other problems) I have suggested a -cstyle:
http://d.puremagic.com/issues/show_bug.cgi?id=4580

Bye,
bearophile


More information about the Digitalmars-d mailing list