[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: return value of lua_dostring
- From: Reuben Thomas <rrt1001@...>
- Date: Wed, 17 Jan 2001 23:29:40 +0000 (GMT)
> Just like the return values of any function.
Thanks. I presume that means that as per the notice "you are responsible for
controlling stack overflow", that means that after calling lua_dostring it
is necessary to call lua_settop(L, 0) to remove any remaining stack elements
before calling lua_dostring again (to avoid eventual stack overflow)?
This used to be handled by lua_beginblock/lua_endblock, didn't it?
http://sc3d.org/rrt/ | computation, n. automated pedantry