[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Alternatives to C function environments
- From: Dirk Laurie <dirk.laurie@...>
- Date: Mon, 10 Mar 2014 15:43:25 +0200
2014-03-10 15:36 GMT+02:00 Camilo Bravo Valdés <faranwath@gmail.com>:
> Is the concept of upvalues the only current alternative to the C
> function environments feature previously available in Lua 5.1?
There's a fourth parameter to "load" that can be used to set the
environment of the function you are about to create.