Re: Alternatives to C function environments
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Alternatives to C function environments
- From: Camilo Bravo Valdés <faranwath@...>
- Date: 2014年3月10日 11:47:36 -0200
I had the C API in mind when asking the question, not the language's
standard library.
On 3/10/14, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> 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.
>
>