lua-users home
lua-l archive

Re: setfenv on userdata

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


> I was more than a little surprised to find that while
> GETGLOBAL/SETGLOBAL opcodes use the environment, the lua_getglobal and
> lua_setglobal macros use LUA_GLOBALSINDEX rather than LUA_ENVIRONINDEX.
Maybe we should change the opcode names...
-- Roberto

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