[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: luaL_checklstring over nil raises exception
- From: Rodrigo Dias Arruda Senra <rodsenra@...>
- Date: Fri, 09 Dec 2011 09:34:10 -0200
Em 07/12/2011 20:07, Patrick Rapin escreveu:
OK. I think I have misunderstood your problem.
Now if I am right, your concern has nothing to do with
luaL_checkstring, but with Lua errors in unprotected environments.
Thank you for such detailed and crystal clear explanation.
In fact I run Lua scripts through pcall() // though not in the snippet
The problem manifested in a callback from Lua to C, I believed the
protected environment was extensive to these callbacks.