envzn
0.8 · beta · not released

Library / Collections / Sequences / EvArr

STRUCT

EvArr

EvArr — what a T[] holds: the C array floor's 1-D descriptor, and its ONE definition. The compiler lowers it, as every STRUCT that crosses a FOREIGN BIND, to the C struct _EV_ENVZN_EvArr in the emitted EV_cstructs.h; native/EV_arr.h only names it (typedef struct _EV_ENVZN_EvArr EvArr;), so the C floor and Envzn read the same layout (native-array-primitive-design §19.6, 6a′). NativeArray[T] holds one by value, and every ev_arr_* binding takes it by REFERENCE, which crosses as EvArr *. 32 bytes.

Fields 4

HANDLE data
int64 length
int64 capacity
int64 growAt