lua-users home
lua-l archive

Re: Lua 5.2, setfenv and the C API

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


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

AltStyle によって変換されたページ (->オリジナル) /