[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: want luaL_verror()
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 27 Nov 2012 11:03:33 -0200
> That is correct, but because luaL_error() does not actually return, the
> calling function of luaL_verror() will never be returned to, and thus the
> va_end() that is there will never be called..
Who calls va_start and its corresponding va_end is lua_pushvfstring
(actually luaO_pushfstring, an internal function), which usually
returns. The error is raised after the call to va_end. Nobody else
needs to call either va_start or va_end.
-- Roberto
- References:
- want luaL_verror(), John Belmonte
- Re: want luaL_verror(), Roberto Ierusalimschy
- Re: want luaL_verror(), John Belmonte
- Re: want luaL_verror(), Roberto Ierusalimschy
- Re: want luaL_verror(), Coda Highland
- Re: want luaL_verror(), Roberto Ierusalimschy
- RE: want luaL_verror(), Richter, Jörg
- RE: want luaL_verror(), Richter, Jörg
- Re: want luaL_verror(), Roberto Ierusalimschy
- Re: want luaL_verror(), Iain Hibbert