[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Copying a function in lua5.1
- From: HyperHacker <hyperhacker@...>
- Date: Sat, 30 Oct 2010 19:31:22 -0600
On Sat, Oct 30, 2010 at 19:26, Mailing Lists @ Imagine
> Hello Everyone,
> - Lua5.1
> If a user passes a function as argument to a function from the lua side, how
> would I copy that argument to e.g. a global table from the C side of the
> if the called function was defined in the C side?
> I've searched the web, but couldn't find anything that could help me. Can
> tell me a bit more about this?
> Thanks and have a nice Sunday,
> Bas Groothedde
Store the value in the registry table under some unique name. When you
need to call it again, pull it back out of the registry.
Sent from my toaster.