While working with C it is quite common to use malloc, calloc, free, realloc. Currently, the only function exposed for working with memory is
realloc, leaving it up to the developer to reimplement these familiar memory functions.
I propose we add these functions to their respective places next to
Another reason this would be helpful is when the developer implements these functions, they must register them with the current playdate instance, a step that could result in error if done at the incorrect time. I implemented exactly these functions in order to bridge the gap till then.
Removing the initialization step would be awesome!