[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Userdata fenv
- From: "Aaron Brown" <arundelo@...>
- Date: Thu, 2 Nov 2006 13:25:38 -0500
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.