lua-users home
lua-l archive

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


Hi all,


I would like to pass a string to a C function.  The string would
represent a lua function that would be used as a callback.  This works
fine for global functions but I would like it to work for table methods
(or functions in tables) as well.  Is there a generic way to do this
without having to parse the string to see if it has "." or ":" in it?  

I am assuming there is no way to directly pass a reference to a function
and then store that for later.

Mike