Пример #1
0
 static int GenerateTimeStamp(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         System.DateTime arg0 = (System.DateTime)ToLua.CheckObject(L, 1, typeof(System.DateTime));
         long            o    = UnGfx.GenerateTimeStamp(arg0);
         LuaDLL.lua_pushnumber(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }