[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Setting an error function for lua_resume
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 15 Dec 2004 12:18:44 -0200
> But I noticed the following line in lua_resume:
> lua_assert(L->errfunc == 0 && L->nCcalls == 0);
> This certainly makes it seem risky. Is this bound to cause other problems
> down the road?
Probably not. This assertion only checks consistency with the current
implementation (where errfunc should be 0).