Beispiel #1
0
        private static IntPtr CreateLoop()
        {
            IntPtr ptr = UV.Alloc(uv_loop_size().ToInt32());
            int    r   = uv_loop_init(ptr);

            Ensure.Success(r);
            return(ptr);
        }
Beispiel #2
0
 internal UVStream(Loop loop, int size)
     : this(loop, UV.Alloc(size))
 {
 }
Beispiel #3
0
 internal HandleBase(Loop loop, int size)
     : this(loop, UV.Alloc(size))
 {
 }
Beispiel #4
0
 public PermaRequest(int size)
     : this(UV.Alloc(size))
 {
 }