Files
wren/src
Bob Nystrom 50e10efa89 refactor: change ALLOCATE_FLEX macro to accept element type and count instead of raw byte size
The macro now takes a main type, array element type, and element count, computing the total allocation as `sizeof(mainType) + sizeof(arrayType) * count`. This improves type safety and clarity at all call sites, which are updated to pass the element type (Upvalue*, Value, char) instead of manually computing byte sizes.
2015-02-01 23:12:37 +00:00
..