lua-users home
lua-l archive

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


  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
function.

  Thanks for any insight on how to proceed.

  Dan East