lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> I'd like to change luaM_realloc to specify the size of the existing
> block that's changing [...]
> Is this easier in 5.0?

This is already done in 5.0:

void *luaM_realloc (lua_State *L, void *oldblock, lu_mem oldsize, lu_mem size);


-- Roberto