[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Strange memory behaviour (Lua 5.1)
- From: Erik Hougaard <erik@...>
- Date: Wed, 16 Jan 2008 16:20:41 +0100
Marko Žagar wrote:
// init lua state
LuaState = lua_open();
luaL_openlibs(LuaState);
lua_setallocf(LuaState, lua_allocate, 0);
Try to switch the luaL_openlibs and lua_setallocf statements.
/Erik