Example #1
0
 public PadChainFunctionWrapper(Gst.PadChainFunction managed)
 {
     this.managed = managed;
     if (managed != null)
     {
         NativeDelegate = new PadChainFunctionNative(NativeCallback);
     }
 }
		public static Gst.PadChainFunction GetManagedDelegate (PadChainFunctionNative native)
		{
			if (native == null)
				return null;
			PadChainFunctionWrapper wrapper = (PadChainFunctionWrapper) native.Target;
			if (wrapper == null)
				return null;
			return wrapper.managed;
		}
Example #3
0
        public static Gst.PadChainFunction GetManagedDelegate(PadChainFunctionNative native)
        {
            if (native == null)
            {
                return(null);
            }
            PadChainFunctionWrapper wrapper = (PadChainFunctionWrapper)native.Target;

            if (wrapper == null)
            {
                return(null);
            }
            return(wrapper.managed);
        }
Example #4
0
 internal PadChainFunctionInvoker(PadChainFunctionNative native_cb, IntPtr data, GLib.DestroyNotify notify)
 {
     this.native_cb = native_cb;
     __data         = data;
     __notify       = notify;
 }
Example #5
0
 internal PadChainFunctionInvoker(PadChainFunctionNative native_cb, IntPtr data) : this(native_cb, data, null)
 {
 }
Example #6
0
 internal PadChainFunctionInvoker(PadChainFunctionNative native_cb) : this(native_cb, IntPtr.Zero, null)
 {
 }
		public PadChainFunctionWrapper (Gst.PadChainFunction managed)
		{
			this.managed = managed;
			if (managed != null)
				NativeDelegate = new PadChainFunctionNative (NativeCallback);
		}
		internal PadChainFunctionInvoker (PadChainFunctionNative native_cb, IntPtr data, Gst.GLib.DestroyNotify notify)
		{
			this.native_cb = native_cb;
			__data = data;
			__notify = notify;
		}
		internal PadChainFunctionInvoker (PadChainFunctionNative native_cb, IntPtr data) : this (native_cb, data, null) {}
		internal PadChainFunctionInvoker (PadChainFunctionNative native_cb) : this (native_cb, IntPtr.Zero, null) {}