public BusSyncHandlerWrapper(Gst.BusSyncHandler managed) { this.managed = managed; if (managed != null) { NativeDelegate = new BusSyncHandlerNative(NativeCallback); } }
public static Gst.BusSyncHandler GetManagedDelegate (BusSyncHandlerNative native) { if (native == null) return null; BusSyncHandlerWrapper wrapper = (BusSyncHandlerWrapper) native.Target; if (wrapper == null) return null; return wrapper.managed; }
public static Gst.BusSyncHandler GetManagedDelegate(BusSyncHandlerNative native) { if (native == null) { return(null); } BusSyncHandlerWrapper wrapper = (BusSyncHandlerWrapper)native.Target; if (wrapper == null) { return(null); } return(wrapper.managed); }
internal BusSyncHandlerInvoker(BusSyncHandlerNative native_cb, IntPtr data, GLib.DestroyNotify notify) { this.native_cb = native_cb; __data = data; __notify = notify; }
internal BusSyncHandlerInvoker(BusSyncHandlerNative native_cb, IntPtr data) : this(native_cb, data, null) { }
internal BusSyncHandlerInvoker(BusSyncHandlerNative native_cb) : this(native_cb, IntPtr.Zero, null) { }
public BusSyncHandlerWrapper (Gst.BusSyncHandler managed) { this.managed = managed; if (managed != null) NativeDelegate = new BusSyncHandlerNative (NativeCallback); }
internal BusSyncHandlerInvoker (BusSyncHandlerNative native_cb, IntPtr data, Gst.GLib.DestroyNotify notify) { this.native_cb = native_cb; __data = data; __notify = notify; }
internal BusSyncHandlerInvoker (BusSyncHandlerNative native_cb, IntPtr data) : this (native_cb, data, null) {}
internal BusSyncHandlerInvoker (BusSyncHandlerNative native_cb) : this (native_cb, IntPtr.Zero, null) {}