lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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