Пример #1
0
 /*
  * Gets an object from the Lua stack according to its Lua type.
  */
 public object getObject(IntPtr luaState, int index)
 {
     return LuaScriptMgr.GetVarObject(luaState, index);
 }
Пример #2
0
 /*
  * Pushes the object into the Lua stack according to its type.
  */
 internal void push(IntPtr luaState, object o)
 {                        
     LuaScriptMgr.PushVarObject(luaState, o);
 }