title: Sending variable pointers back and forth between C++ and Lua?
body: <p>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, then transfer it back to C++. </p>
  
  <p>However, the thing is how can you execute a C++ functions or methods from Lua? Or is a workaround required?</p>
  
  <p>If possible, could you include a code snippet to show me how it is done?</p>
  
  <p>I am aware that I do not fully understand the whole picture yet, so if something is amiss, please correct me.</p>