lua-users home
lua-l archive

Re: About function environments

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


>Hi, I'm having some trouble understanding section 3.12 of the Lua 5.0 manual. I am confused whether it is possible to associate the environment of a Lua function with a C function. The manual seems to imply this is not possible, but does not say so explicitly.
Sorry, the manual is not clear. You cannot change the environment of a
C function.
--lhf

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