Re: Copying a function in lua5.1
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Copying a function in lua5.1
- From: Javier Guerra Giraldez <javier@...>
- Date: 2010年10月30日 20:34:24 -0500
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