static void PrintLiteral_cb(IntPtr inst, IntPtr message) { try { ApplicationCommandLine __obj = GLib.Object.GetObject(inst, false) as ApplicationCommandLine; __obj.OnPrintLiteral(GLib.Marshaller.Utf8PtrToString(message)); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, false); } }
static IntPtr GetStdin_cb(IntPtr inst) { try { ApplicationCommandLine __obj = GLib.Object.GetObject(inst, false) as ApplicationCommandLine; GLib.InputStream __result; __result = __obj.OnGetStdin(); return(__result == null ? IntPtr.Zero : __result.Handle); } catch (Exception e) { GLib.ExceptionManager.RaiseUnhandledException(e, true); // NOTREACHED: above call does not return. throw e; } }