コード例 #1
0
ファイル: ArUtil.cs プロジェクト: NguyenQuocMy1604/my_ubuntu
        public static bool changeFileTimestamp(string fileName, SWIGTYPE_p_time_t timestamp)
        {
            bool ret = AriaCSPINVOKE.ArUtil_changeFileTimestamp(fileName, SWIGTYPE_p_time_t.getCPtr(timestamp));

            if (AriaCSPINVOKE.SWIGPendingException.Pending)
            {
                throw AriaCSPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #2
0
ファイル: ArUtil.cs プロジェクト: NguyenQuocMy1604/my_ubuntu
        public static bool localtime(SWIGTYPE_p_time_t timep, SWIGTYPE_p_tm result)
        {
            bool ret = AriaCSPINVOKE.ArUtil_localtime__SWIG_0(SWIGTYPE_p_time_t.getCPtr(timep), SWIGTYPE_p_tm.getCPtr(result));

            return(ret);
        }