Made the Lua support more robust :)

nobody wrote on Tuesday, May 31, 2005:

Well, just slightly ;p

I’ve changed the callback function handling, so that instead of storing the name of the callback function in a C string, it stores it in the Lua registry. This way, I can use local functions, anonymous functions, etc as my callback, as opposed to the original method, where only global functions could be used.

I would like to send you the file or place it somewhere so that others can use it, but I don’t know how… Can someone tell me how?

Thanks for porting GLFW to Lua, Marcus, and long live free software! :slight_smile:

- TJay