Get the latest tech news
Creating C closures from Lua closures
When I set out to bridge the entire Windows C API to Lua, one of the most interesting and fun challenges I had was to create C callbacks from Lua functions. Without this, a significant portion of the API would be useless, such as WNDPROC.
None
Or read this on Hacker News