[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: localized errors for allocating new objects
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 29 Mar 2010 14:38:55 -0300
> Presumably one needs to check the stack space before the initial push
> as well, but since blowing out the stack on a push isn't supported
> anyway, this concern is handled elsewhere.
More often than not one knows whether the stack has enough space and so
can avoid the check. Otherwise this concern should be handled elsewhere.
(Note that in 5.2w2 lua_checkstack is protected.)
-- Roberto