lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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.
>
>