[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Userdata environment
- From: Shmuel Zeigerman <shmuz@...>
- Date: Wed, 02 Apr 2008 16:04:11 +0200
Luiz Henrique de Figueiredo wrote:
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.
Thanks, I've missed that (for lua_gc).
[nitpicking]
The manual is inaccurate from the formal logic standpoint:
# LUA_GCSETPAUSE: sets data/100 as the new value for the pause
of the collector (see §2.10). The function returns the previous
value of the pause.
Should be: returns the previous value of the pause*100.
Same for LUA_GCSETSTEPMUL.
[/nitpicking]
--
Shmuel