public EmissionHookMarshaler(EmissionHookNative callback, IntPtr user_data) { cb = callback; this.user_data = user_data; handler = new EmissionHook(NativeInvoker); }
public EmissionHookMarshaler(EmissionHook handler) { this.handler = handler; cb = new EmissionHookNative(NativeCallback); gch = GCHandle.Alloc(this); }
static extern ulong g_signal_add_emission_hook(uint signal_id, uint gquark_detail, EmissionHookNative hook_func, IntPtr hook_data, IntPtr data_destroy);
public EmissionHookMarshaler(EmissionHookNative callback, IntPtr user_data) { cb = callback; this.user_data = user_data; handler = new EmissionHook (NativeInvoker); }
public EmissionHookMarshaler(EmissionHook handler) { this.handler = handler; cb = new EmissionHookNative (NativeCallback); gch = GCHandle.Alloc (this); }