Ejemplo n.º 1
0
        internal void Foreach(Action <AddressHandle> action)
        {
            AddressCallback callback = (index, handle, userData) =>
            {
                action(AddressHandle.CloneFrom(handle));
                return(true);
            };

            Foreach(handle, callback, IntPtr.Zero).WarnIfFailed("Failed to get address list from native handle");
        }
Ejemplo n.º 2
0
 public static extern void SetWriteCallback(IntPtr g, AddressCallback cb);
Ejemplo n.º 3
0
 public static extern void SetReadCallback(IntPtr g, AddressCallback cb);
Ejemplo n.º 4
0
 public static extern void SetFetchCallback(IntPtr g, AddressCallback cb);
Ejemplo n.º 5
0
 internal static extern ErrorCode Foreach(IntPtr /* maps_address_list_h */ addressList, AddressCallback callback, IntPtr /* void */ userData);
Ejemplo n.º 6
0
 public static extern void SetWriteCallback(IntPtr g, AddressCallback cb);
Ejemplo n.º 7
0
 public static extern void SetReadCallback(IntPtr g, AddressCallback cb);
Ejemplo n.º 8
0
 public static extern void SetFetchCallback(IntPtr g, AddressCallback cb);