[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: why does tolua clear the stack?
- From: Enrico Colombini <erix@...>
- Date: Tue, 26 Nov 2002 12:24:22 +0100
>Tolua-generated code seems to call 'lua_settop(0)' in between
>reading the arguments and pushing the return values. Why is this?
>Could someone knowing the Lua internals comment on whether this
>is good, bad, or does not matter?
Maybe is it just a safety catch, or a cleaning up of (possible) unused
extra arguments before pushing the results into the stack?
Enrico