[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [lua-l] Digest Number 734
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 28 May 2002 09:05:44 -0300
> If I understand correctly, closure variables in Lua are frozen, ie.
> their values when the closure is defined are fixed.
Actually, we have three types of closures in Lua: C closures (built
via the API call lua_pushcclosure, with constants), Lua closures 4.0
(with upvalues, also constants), and Lua closures 5.0, with "real", live