3 ms·
functions can work with just pointer / size / stride. think of it as stl iterators, there's no real point to be passing the container itself around. however, y
by nice_byte 4y ago
functions can work with just pointer / size / stride. think of it as stl iterators, there's no real point to be passing the container itself around.
however, you can still do that, if you really want.
just `typedef DYN_ARR_OF(widget) widget_array;` and now you have a name-able type, and can even have dynamic-arrays-of-dynamic-arrays (`DYN_ARR_OF(widget_array)`).