lua-users home
lua-l archive

Re: Copying a function in lua5.1

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


On Sat, Oct 30, 2010 at 8:31 PM, HyperHacker <hyperhacker@gmail.com> wrote:
> Store the value in the registry table under some unique name.
even better, use luaL_ref() to get a unique integer id, pass that int
around in C, and use lua_rawgeti() to pick from the registry.
-- 
Javier

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