|
Thomas Harning Jr. wrote:
I've seen setting fenv on userdata recently on the list, but I haven't seen anything on how it works... It it something that is just a place to throw data (such as dependencies), or does it serve as something else like fenv works on threads and functions...
From the manual:
Environments associated with userdata have no meaning for Lua. It is only a convenience feature for programmers to associate a table to a userdata.
http://www.lua.org/manual/5.1/manual.html#2.9 -- Aaron