Beispiel #1
0
 static int GetColumn(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         TableUtil obj  = (TableUtil)ToLua.CheckObject(L, 1, typeof(TableUtil));
         int       arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
         string    o    = obj.GetColumn(arg0);
         LuaDLL.lua_pushstring(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }