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