static byte ToBytes_cb(IntPtr inst) { try { InetAddress __obj = GLib.Object.GetObject(inst, false) as InetAddress; byte __result; __result = __obj.OnToBytes(); return(__result); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }
static IntPtr ToString_cb(IntPtr inst) { try { InetAddress __obj = GLib.Object.GetObject(inst, false) as InetAddress; string __result; __result = __obj.OnToString(); return(GLib.Marshaller.StringToPtrGStrdup(__result)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }
public static InetAddress NewLoopback(GLib.SocketFamily family) { InetAddress result = new InetAddress (g_inet_address_new_loopback((int) family)); return result; }
public static InetAddress NewLoopback(GLib.SocketFamily family) { InetAddress result = new InetAddress(g_inet_address_new_loopback((int)family)); return(result); }