Esempio n. 1
0
 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;
     }
 }
Esempio n. 2
0
 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;
     }
 }
Esempio n. 3
0
		public static InetAddress NewLoopback(GLib.SocketFamily family)
		{
			InetAddress result = new InetAddress (g_inet_address_new_loopback((int) family));
			return result;
		}
Esempio n. 4
0
        public static InetAddress NewLoopback(GLib.SocketFamily family)
        {
            InetAddress result = new InetAddress(g_inet_address_new_loopback((int)family));

            return(result);
        }