Are there any C API sample programs or code snippets out there that demonstrate a Userdata GC function?
There are a few examples on the wiki.
http://lua-users.org/wiki/UserDataWithPointerExample
http://lua-users.org/wiki/SimpleCppBinding
- Peter