LuaJIT also allows you to pass a Lua function as a callback to a C function expecting one, subject to some limitations.
I'm not sure if either of those answers your question though.
LuaJIT also allows you to pass a Lua function as a callback to a C function expecting one, subject to some limitations.
I'm not sure if either of those answers your question though.