Passing lua functions to C
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Passing lua functions to C
- From: "Phil" <phil@...>
- Date: 2002年3月28日 21:12:23 -0700
I need to find a way to pass Lua functions to C. What I want to do is have a
C function that can be called by a Lua script, and have a lua function
passed to it. That way the script can specify which function it wants C to
call, like registering an event handler. But I can't seem to find anything
in the FAQ or manual about how to do this. Any help is appreciated.
Thanks, Philip Bock