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