Esempio n. 1
0
 static int ConvertIntDateTime(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         double          arg0 = (double)LuaDLL.luaL_checknumber(L, 1);
         System.DateTime o    = UnGfx.ConvertIntDateTime(arg0);
         ToLua.PushValue(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }