lua-users home
lua-l archive

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


> How can i hook the memory allocation in Lua?

http://www.lua.org/manual/5.1/manual.html#lua_Alloc
http://www.lua.org/manual/5.1/manual.html#lua_newstate

> Should i just working on luaM_realloc_()?

No.