ABI array format

Janice Caron caron800 at googlemail.com
Wed Dec 19 23:05:42 PST 2007


On 12/20/07, Walter Bright <newshound1 at digitalmars.com> wrote:
> I recommend treating array contents as an opaque type, and call the C
> functions using array.ptr and array.length. That way, you'll be insured
> against implementation changes.

Obviously, I agree with that. But...

I recommend changing the documentation on
http://www.digitalmars.com/d/abi.html, which states in black and white
not only that the layout is not opaque, but tells you what's inside
it. Folk can hardly be blamed for relying on that.



More information about the Digitalmars-d mailing list