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

            if (wrapper == null)
            {
                return(null);
            }
            return(wrapper.managed);
        }
		public PadUnlinkFunctionWrapper (Gst.PadUnlinkFunction managed)
		{
			this.managed = managed;
			if (managed != null)
				NativeDelegate = new PadUnlinkFunctionNative (NativeCallback);
		}
		internal PadUnlinkFunctionInvoker (PadUnlinkFunctionNative native_cb, IntPtr data, Gst.GLib.DestroyNotify notify)
		{
			this.native_cb = native_cb;
			__data = data;
			__notify = notify;
		}
		internal PadUnlinkFunctionInvoker (PadUnlinkFunctionNative native_cb, IntPtr data) : this (native_cb, data, null) {}
		internal PadUnlinkFunctionInvoker (PadUnlinkFunctionNative native_cb) : this (native_cb, IntPtr.Zero, null) {}
Example #8
0
 internal PadUnlinkFunctionInvoker(PadUnlinkFunctionNative native_cb, IntPtr data, GLib.DestroyNotify notify)
 {
     this.native_cb = native_cb;
     __data         = data;
     __notify       = notify;
 }
Example #9
0
 internal PadUnlinkFunctionInvoker(PadUnlinkFunctionNative native_cb, IntPtr data) : this(native_cb, data, null)
 {
 }
Example #10
0
 internal PadUnlinkFunctionInvoker(PadUnlinkFunctionNative native_cb) : this(native_cb, IntPtr.Zero, null)
 {
 }