[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: LUA stack values to API?
- From: "Sean Middleditch" <elanthis@...>
- Date: Wed, 27 Mar 2002 20:32:03 -0500 (EST)
Many of the functions/operations do pop values off the stack. The
documentation describes which do.
> Quick question, lua uses the 'stack' for passing paramters back and
> forth.. that's how we pass stuff to the API..If I pass 3 parameters
> down to an API from lua is it the responsiblity of the API to pop
> those values off the stack...clearing it?....I know the API
> lua_tonumber doesn't seem to pop the values off the stack...after
> running a while, won't the stack just implode or how does lua do
> garbage collection?
>
>
> Terence