I am looking for a way to transfer the variable addresses back and forth between C++ and Lua. For instance, transferring an object from C++ to Lua and do some processing, th
I'm not sure if this is what you're looking for but have you tried luabind?
Maybe this question is also of help.