lua-users home
lua-l archive

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


Lua already uses luaM_realloc for all its memory allocation.
You can build Lua to use a different function by #defining  l_realloc.
But you can also provide your own luaM_realloc function and the linker will
use your version instead of Lua's. Isn't that flexible enough? Does it work
with dll/so?
--lhf