[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Trigger panic for testing custom error handler
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 22 Jan 2013 16:48:36 -0200
> What about failures that occur prior to a lua_pcall, such as a memory allocation failure during setup: create new state, luaL_loadstring (memory allocation error) ?
Just start *everything* with a (single) lua_pcall. See
http://www.lua.org/source/5.2/lua.c.html#main