lua-users home
lua-l archive

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


> 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.