enable enqueueing C functions in addition to Lua functions in main event loop