public TypeFindSuggestFunctionWrapper(Gst.TypeFindSuggestFunction managed)
 {
     this.managed = managed;
     if (managed != null)
     {
         NativeDelegate = new TypeFindSuggestFunctionNative(NativeCallback);
     }
 }
        public static Gst.TypeFindSuggestFunction GetManagedDelegate(TypeFindSuggestFunctionNative native)
        {
            if (native == null)
            {
                return(null);
            }
            TypeFindSuggestFunctionWrapper wrapper = (TypeFindSuggestFunctionWrapper)native.Target;

            if (wrapper == null)
            {
                return(null);
            }
            return(wrapper.managed);
        }
Пример #3
0
 public static Gst.TypeFindSuggestFunction GetManagedDelegate(TypeFindSuggestFunctionNative native)
 {
     if (native == null)
     return null;
       TypeFindSuggestFunctionWrapper wrapper = (TypeFindSuggestFunctionWrapper) native.Target;
       if (wrapper == null)
     return null;
       return wrapper.managed;
 }
Пример #4
0
 public TypeFindSuggestFunctionWrapper(Gst.TypeFindSuggestFunction managed)
 {
     this.managed = managed;
       if (managed != null)
     NativeDelegate = new TypeFindSuggestFunctionNative (NativeCallback);
 }
Пример #5
0
 internal TypeFindSuggestFunctionInvoker(TypeFindSuggestFunctionNative native_cb, IntPtr data, GLib.DestroyNotify notify)
 {
     this.native_cb = native_cb;
       __data = data;
       __notify = notify;
 }
Пример #6
0
 internal TypeFindSuggestFunctionInvoker(TypeFindSuggestFunctionNative native_cb, IntPtr data)
     : this(native_cb, data, null)
 {
 }
Пример #7
0
 internal TypeFindSuggestFunctionInvoker(TypeFindSuggestFunctionNative native_cb)
     : this(native_cb, IntPtr.Zero, null)
 {
 }
 internal TypeFindSuggestFunctionInvoker(TypeFindSuggestFunctionNative native_cb, IntPtr data, GLib.DestroyNotify notify)
 {
     this.native_cb = native_cb;
     __data         = data;
     __notify       = notify;
 }
 internal TypeFindSuggestFunctionInvoker(TypeFindSuggestFunctionNative native_cb, IntPtr data) : this(native_cb, data, null)
 {
 }
 internal TypeFindSuggestFunctionInvoker(TypeFindSuggestFunctionNative native_cb) : this(native_cb, IntPtr.Zero, null)
 {
 }