public AttrDataCopyFuncWrapper(Pango.AttrDataCopyFunc managed) { this.managed = managed; if (managed != null) { NativeDelegate = new AttrDataCopyFuncNative(NativeCallback); } }
public static Pango.AttrDataCopyFunc GetManagedDelegate (AttrDataCopyFuncNative native) { if (native == null) return null; AttrDataCopyFuncWrapper wrapper = (AttrDataCopyFuncWrapper) native.Target; if (wrapper == null) return null; return wrapper.managed; }
public static Pango.AttrDataCopyFunc GetManagedDelegate(AttrDataCopyFuncNative native) { if (native == null) { return(null); } AttrDataCopyFuncWrapper wrapper = (AttrDataCopyFuncWrapper)native.Target; if (wrapper == null) { return(null); } return(wrapper.managed); }
internal AttrDataCopyFuncInvoker(AttrDataCopyFuncNative native_cb, IntPtr data, GLib.DestroyNotify notify) { this.native_cb = native_cb; __data = data; __notify = notify; }
internal AttrDataCopyFuncInvoker(AttrDataCopyFuncNative native_cb, IntPtr data) : this(native_cb, data, null) { }
internal AttrDataCopyFuncInvoker(AttrDataCopyFuncNative native_cb) : this(native_cb, IntPtr.Zero, null) { }
public AttrDataCopyFuncWrapper (Pango.AttrDataCopyFunc managed) { this.managed = managed; if (managed != null) NativeDelegate = new AttrDataCopyFuncNative (NativeCallback); }
internal AttrDataCopyFuncInvoker (AttrDataCopyFuncNative native_cb, IntPtr data, GLib.DestroyNotify notify) { this.native_cb = native_cb; __data = data; __notify = notify; }
internal AttrDataCopyFuncInvoker (AttrDataCopyFuncNative native_cb, IntPtr data) : this (native_cb, data, null) {}
internal AttrDataCopyFuncInvoker (AttrDataCopyFuncNative native_cb) : this (native_cb, IntPtr.Zero, null) {}