lua-users home
lua-l archive

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


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