示例#1
0
 public FillTrackElementFuncWrapper(GES.FillTrackElementFunc managed)
 {
     this.managed = managed;
     if (managed != null)
     {
         NativeDelegate = new FillTrackElementFuncNative(NativeCallback);
     }
 }
示例#2
0
        public static GES.FillTrackElementFunc GetManagedDelegate(FillTrackElementFuncNative native)
        {
            if (native == null)
            {
                return(null);
            }
            FillTrackElementFuncWrapper wrapper = (FillTrackElementFuncWrapper)native.Target;

            if (wrapper == null)
            {
                return(null);
            }
            return(wrapper.managed);
        }
示例#3
0
 internal FillTrackElementFuncInvoker(FillTrackElementFuncNative native_cb, IntPtr data) : this(native_cb, data, null)
 {
 }
示例#4
0
 internal FillTrackElementFuncInvoker(FillTrackElementFuncNative native_cb, IntPtr data, GLib.DestroyNotify notify)
 {
     this.native_cb = native_cb;
     __data         = data;
     __notify       = notify;
 }
示例#5
0
 internal FillTrackElementFuncInvoker(FillTrackElementFuncNative native_cb) : this(native_cb, IntPtr.Zero, null)
 {
 }