Lua has the following single function: ```c typedef void * (*lua_Alloc) (void *ud, void *ptr, size_t osize, size_t nsize); ``` also recommended in some articles, and the one usef in `msf_gif`.