|
On Tue, Mar 8, 2011 at 9:23 AM, Chris Gagnon <cgagnon@zindagigames.com> wrote:It sounded like your env is specific to a function? Use a
>> store a pointer to your environment in the registry
>
> How does this even work, there are many environments and only one registry.
> I would not know which one was used by the calling code.
lightuserdata of the function pointer as the registry key to
store/lookup the env in the registry.
Cheers,
Sam