public IOSchedulerJobFuncWrapper(GLib.IOSchedulerJobFunc managed) { this.managed = managed; if (managed != null) { NativeDelegate = new IOSchedulerJobFuncNative(NativeCallback); } }
public IOSchedulerJobFuncWrapper (GLib.IOSchedulerJobFunc managed) { this.managed = managed; if (managed != null) NativeDelegate = new IOSchedulerJobFuncNative (NativeCallback); }
public static void SchedulerPushJob(GLib.IOSchedulerJobFunc job_func, GLib.DestroyNotify notify, int io_priority, GLib.Cancellable cancellable) { GLibSharp.IOSchedulerJobFuncWrapper job_func_wrapper = new GLibSharp.IOSchedulerJobFuncWrapper(job_func); g_io_scheduler_push_job(job_func_wrapper.NativeDelegate, IntPtr.Zero, notify, io_priority, cancellable == null ? IntPtr.Zero : cancellable.Handle); }