Dynamic array length ABI unit
via Digitalmars-d
digitalmars-d at puremagic.com
Mon Jun 16 04:44:52 PDT 2014
Regarding the D ABI, http://dlang.org/abi.html , I've noticed
that the description for dynamic arrays seems ambiguous:
offset property contents
0 .length array dimension
size_t .ptr pointer to array data
Couldn't "array dimension" be either in bytes or in T units, for
a T[]? It seems to be in bytes (I had assumed it was in T units).
If you agree that it is ambiguous, please tweak the description
to be more precise.
More information about the Digitalmars-d
mailing list