Пример #1
0
        private UvStatArgs FreeStatRequest(IntPtr req)
        {
            var ret  = Uvi.uv_fs_req_result(req);
            var stat = UvStat.Create(ret == 0 ? Uvi.uv_fs_req_stat(req) : IntPtr.Zero);

            Uvi.uv_fs_req_cleanup(req);
            this.Loop.Requests.Delete(req);
            return(new UvStatArgs(ret, stat));
        }
Пример #2
0
 public UvStatArgs(int error, UvStat stat)
     : base(error)
 {
     _stat = stat;
 }
Пример #3
0
 public UvStatArgs(int error, UvStat stat)
     : base(error)
 {
     _stat = stat;
 }
Пример #4
0
 public UvStatArgs(int error, IntPtr stat)
     : this(error, UvStat.Create(stat))
 {
 }