[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Call a Lua function from C
- From: "Michael Cumming" <Mike.C@...>
- Date: Tue, 1 Feb 2005 12:20:11 -0600
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