title: Lua/SWIG wrap userdata from within Lua
body: <p>I am using swig-lua. I have a function in Lua which I call and it returns me a pointer (userdata). right now I know what this pointer is, but how can I tell Lua from within Lua?</p>