title: Pass C++ object to Lua function
body: <p>I have a C++ project, where 1 method of a 1 class changes very often. So I want to take that code from C++ to Lua. Note, I'm novice to Lua.</p>
  
  <p>The whole task:</p>
  
  <ol>
  <li>Bind some class methods to Lua state machine;</li>
  <li>Pass reference to class object to a function, written in Lua;</li>
  <li>Operate with passed C++ object in Lua function.</li>
  </ol>
  
  <p>I've found how to make first step with Lunar, and can't cope with second and third.</p>
  
  <p>I can't use SWIG and boost.</p>