[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.2, setfenv and the C API
- From: Brett Nash <nash@...>
- Date: Mon, 11 Jan 2010 11:46:00 +1100
On Mon, 11 Jan 2010 02:37:27 +0300
Alexander Gladysh <agladysh@gmail.com> wrote:
> On Mon, Jan 11, 2010 at 02:30, Brett Nash <nash@nash.id.au> wrote:
> > So a quick question - do we expect the C API of setfenv to be
> > changed?
>
> > There is no deprecation note specifically, but I'd rather
> > check ;-)
>
> See this post by Roberto:
>
> http://lua-users.org/lists/lua-l/2010-01/msg00169.html
>
> lua_getfenv and lua_setfenv will continue, as debug.setfenv
> and debug.getfenv.
>
> So, I take it that C API stays the same.
You know I read the whole thread... and I missed that one line.
Thanks,
Regards,
nash