[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Userdata environment
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 2 Apr 2008 09:28:08 -0300
> Is there a way for an application to find out current values of pause
> and step?
When you set one of these values, collectgarbage and lua_gc return
the previous value. The manual says so for lua_gc but not for collectgarbage.
> For instance, some library function may want to change these values
> before doing its work and restore them afterwards.
So just set and save the returned values.