mirror of
https://github.com/nicbarker/clay.git
synced 2025-01-23 18:06:04 +00:00
3 lines
249 B
C
3 lines
249 B
C
$NAME$ $NAME$_Allocate_Arena(uint32_t capacity, Clay_Arena *arena) {
|
|
return CLAY__INIT($NAME$){.capacity = capacity, .length = 0, .internalArray = ($TYPE$ *)Clay__Array_Allocate_Arena(capacity, sizeof($TYPE$), CLAY__ALIGNMENT($TYPE$), arena)};
|
|
} |