lua-users home
lua-l archive

Re: getglobal tag method in 4.1 work 4

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


>	Can someone please tell me how to do this:
>
>	lua_settagmethod( lua, LUA_TNIL, "getglobal" );
>
>	with the new meta table stuff.
Try setting the "index" field in the metatable of the global table. Wow.
--lhf

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