[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: How to get Lua functions address?
- From: Pascal Maillard <pascalmaillard@...>
- Date: Sun, 7 Dec 2003 15:55:08 +0100
A lua variable can take a function as a value, you don't have to mess up with
addresses, lua does this for you. There be simply be an argument on the stack
representing the function. You can then save it in the registry table (read
the manual for details) and retrieve it later.