[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua_cpcall() removed in 5.2?
- From: Alexander Gladysh <agladysh@...>
- Date: Tue, 9 Mar 2010 13:39:30 +0300
> http://lua-users.org/wiki/LuaFiveTwo claims that lua_cpcall() will be
> removed.
> What do I use instead of lua_cpcall()? That seems pretty fundamental to Lua.
> Even lua.c uses it to wrap the main function. Without it, how do you guard
> against a panic in your main function?
See LUA_RIDX_CPCALL here: http://www.lua.org/work/doc/manual.html#3.5
Alexander.