4 struct xyarray
*xyarray__new(int xlen
, int ylen
, size_t entry_size
)
6 size_t row_size
= ylen
* entry_size
;
7 struct xyarray
*xy
= zalloc(sizeof(*xy
) + xlen
* row_size
);
10 xy
->entry_size
= entry_size
;
11 xy
->row_size
= row_size
;
17 void xyarray__delete(struct xyarray
*xy
)