Пример #1
0
 public ElementForeachPadFuncWrapper(Gst.ElementForeachPadFunc managed)
 {
     this.managed = managed;
     if (managed != null)
     {
         NativeDelegate = new ElementForeachPadFuncNative(NativeCallback);
     }
 }
Пример #2
0
        public static Gst.ElementForeachPadFunc GetManagedDelegate(ElementForeachPadFuncNative native)
        {
            if (native == null)
            {
                return(null);
            }
            ElementForeachPadFuncWrapper wrapper = (ElementForeachPadFuncWrapper)native.Target;

            if (wrapper == null)
            {
                return(null);
            }
            return(wrapper.managed);
        }
Пример #3
0
 internal ElementForeachPadFuncInvoker(ElementForeachPadFuncNative native_cb, IntPtr data) : this(native_cb, data, null)
 {
 }
Пример #4
0
 internal ElementForeachPadFuncInvoker(ElementForeachPadFuncNative native_cb, IntPtr data, GLib.DestroyNotify notify)
 {
     this.native_cb = native_cb;
     __data         = data;
     __notify       = notify;
 }
Пример #5
0
 internal ElementForeachPadFuncInvoker(ElementForeachPadFuncNative native_cb) : this(native_cb, IntPtr.Zero, null)
 {
 }