Calling C function with static array includes length and pointer

mwarning moritzwarning at web.de
Mon Jun 21 14:30:03 PDT 2010


Hi,

I try to pass a static array to a variadic C function.
Looks like the array is passed by values as expected,
but the length and pointer are prepended, too.
Is this intentional or a bug?

http://pastebin.com/6ejFF37j


More information about the Digitalmars-d mailing list