lua-users home
lua-l archive

Re: Get environment of a function

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


> BTW, how cheap are setfenv/getfenv calls?
Very cheap, just a pointer copy (not a table copuy).
See the code in lapi.c.
--lhf

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