[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Passing LUA functions in C
- From: "Dan East" <dan@...>
- Date: Sat, 12 Jun 2004 08:14:35 -0400
I've read many posts in the archive about determining function names, but
I don't know if that is even necessary in this case.
A LUA script passes a LUA function as a parameter to my C function. Later
I need to push that LUA function back on the stack (or more specifically
just a reference to the function). It seems like this should be a very
simple task. Must I determine the name of the function in this case? One
caveat is that the function will be redefined between the time it is passed
to my C function and when it is pushed back on the stack by another C
Thanks for any insight on how to proceed.