lua-users home
lua-l archive

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


> Is there a complete example for LUA 5.2.2 that shows setup, creation, method definition, and garbage collection on userdata, 

It is probably larger than you have in mind, but the LuaSQLite3 library does all these things. The C code is at 

http://lua.sqlite.org/index.cgi/artifact/0680a1f63801d4de35456d4aab6f7c3f41c3931f

e