ABI array format
Kenny B
funisher at gmail.com
Wed Dec 19 20:56:04 PST 2007
Walter Bright wrote:
> Kenny B wrote:
>> Why then, is
>> the ABI for the arrays in reverse order...
>>
>> (length, pointer)
>
> It was so you could pass a D string to printf and print using the %.*s
> format.
that's what I figured. printf has almost completely been phased out. is
it possible that this format can be reversed when printf is a thing from
the past?
Thanks man,
Kenny
More information about the Digitalmars-d
mailing list