lua-users home
lua-l archive

Re: Strange memory behaviour (Lua 5.1)

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


Marko Žagar wrote:
// init lua state
 LuaState = lua_open();
 luaL_openlibs(LuaState);
 lua_setallocf(LuaState, lua_allocate, 0);
The PIL 2 book says that the new allocator should free blocks allocated by previous allocators.
--
Shmuel

AltStyle によって変換されたページ (->オリジナル) /