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