Passing lua object between lua and c++

Passing lua object between lua and c++
0.0 0

#1

I’m looking for a way to be able to pass a Lua defined object to c*+ and then pass that back into Lua.
What I’m trying to do is pass a self pointer into c*+ then use that same self pointer for a Lua callback. That self pointer type is not defined in c++.

Thanks!


#2

Ended up using this
http://www.lua.org/pil/27.3.2.html