Ejemplo n.º 1
0
        static IntPtr Fill_cb(IntPtr inst, IntPtr count, IntPtr cancellable, out IntPtr error)
        {
            error = IntPtr.Zero;

            try {
                BufferedInputStream __obj = GLib.Object.GetObject(inst, false) as BufferedInputStream;
                long __result;
                __result = __obj.OnFill((long)count, GLib.Object.GetObject(cancellable) as GLib.Cancellable);
                return(new IntPtr(__result));
            } catch (Exception e) {
                GLib.ExceptionManager.RaiseUnhandledException(e, true);
                // NOTREACHED: above call does not return.
                throw e;
            }
        }