public SimpleAsyncThreadFuncWrapper(GLib.SimpleAsyncThreadFunc managed) { this.managed = managed; if (managed != null) { NativeDelegate = new SimpleAsyncThreadFuncNative(NativeCallback); } }
public static GLib.SimpleAsyncThreadFunc GetManagedDelegate (SimpleAsyncThreadFuncNative native) { if (native == null) return null; SimpleAsyncThreadFuncWrapper wrapper = (SimpleAsyncThreadFuncWrapper) native.Target; if (wrapper == null) return null; return wrapper.managed; }
public static GLib.SimpleAsyncThreadFunc GetManagedDelegate(SimpleAsyncThreadFuncNative native) { if (native == null) { return(null); } SimpleAsyncThreadFuncWrapper wrapper = (SimpleAsyncThreadFuncWrapper)native.Target; if (wrapper == null) { return(null); } return(wrapper.managed); }
internal SimpleAsyncThreadFuncInvoker(SimpleAsyncThreadFuncNative native_cb, IntPtr data, GLib.DestroyNotify notify) { this.native_cb = native_cb; __data = data; __notify = notify; }
internal SimpleAsyncThreadFuncInvoker(SimpleAsyncThreadFuncNative native_cb, IntPtr data) : this(native_cb, data, null) { }
internal SimpleAsyncThreadFuncInvoker(SimpleAsyncThreadFuncNative native_cb) : this(native_cb, IntPtr.Zero, null) { }
public SimpleAsyncThreadFuncWrapper (GLib.SimpleAsyncThreadFunc managed) { this.managed = managed; if (managed != null) NativeDelegate = new SimpleAsyncThreadFuncNative (NativeCallback); }
internal SimpleAsyncThreadFuncInvoker (SimpleAsyncThreadFuncNative native_cb, IntPtr data, GLib.DestroyNotify notify) { this.native_cb = native_cb; __data = data; __notify = notify; }
internal SimpleAsyncThreadFuncInvoker (SimpleAsyncThreadFuncNative native_cb, IntPtr data) : this (native_cb, data, null) {}
internal SimpleAsyncThreadFuncInvoker (SimpleAsyncThreadFuncNative native_cb) : this (native_cb, IntPtr.Zero, null) {}