[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Userdata Environments
- From: "Wesley Smith" <wesley.hoke@...>
- Date: Tue, 13 Feb 2007 19:42:00 -0800
BTW,
Is it common for environment tables to have metatables? In alot of
the environment udata examples, I see lua_gettable(L, -2); when
getting a field from the environment table as opposed to lua_rawget().
This makes sense for metatable access in the fallback case, but I
can't think of a circumstance in which an environment metatable would
be used.
wes