title: lua api unknow types and count of arguments
body: <p>I have got a function following:</p>
  <pre><code>int Lua_Func(lua_State* L)
  {
      int argCount = lua_gettop(L);
      return 0;
  }
  </code></pre>
  <p>And i wonder to know how can i get parameters with unknow types. For example i want to pass this :</p>
  <pre><code>myfunc(&quot;string&quot;,1,{&quot;xxx&quot;,xxx&quot;,1}) 
  </code></pre>
  <p>How can i get all the parameters by types?</p>
  <p>I couldnt try anything because i am kinda noob of this knowladge.</p>