Classical memory allocation functions which generate a Lua error in case of problem.

Subsections

  1. void* luaT_alloc(lua_State *L, long size)
  2. void* luaT_realloc(lua_State *L, void *ptr, long size)
  3. void luaT_free(lua_State *L, void *ptr)