[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: setfenv on userdata???
- From: Chris Marrin <chris@...>
- Date: Sun, 21 Aug 2005 12:24:19 -0700
I see in 5.1-work6 that you can now set environments not only on both C
and Lua functions, but also on userdatas. But I don't see anywhere in
the code where this environment is being used. What can you do with this
environment? Does it get used when you make metamethod calls with this
userdata? Or is it just there so it can be retrieved or something?
--
chris marrin ,""$, "As a general rule,don't solve puzzles
chris@marrin.com b` $ that open portals to Hell" ,,.
,.` ,b` ,` , 1$'
,|` mP ,` :$$' ,mm
,b" b" ,` ,mm m$$ ,m ,`P$$
m$` ,b` .` ,mm ,'|$P ,|"1$` ,b$P ,` :$1
b$` ,$: :,`` |$$ ,` $$` ,|` ,$$,,`"$$ .` :$|
b$| _m$`,:` :$1 ,` ,$Pm|` ` :$$,..;"' |$:
P$b, _;b$$b$1" |$$ ,` ,$$" ``' $$
```"```'" `"` `""` ""` ,P`