public CheckWatcher(LibEvLoop loop, CheckWatcherCallback callback) : base(loop) { this.callback = callback; watcher_ptr = manos_check_watcher_create(unmanaged_callback, GCHandle.ToIntPtr(gc_handle)); }
public CheckWatcher(Loop loop, CheckWatcherCallback callback) : base(loop) { this.callback = callback; unmanaged_watcher = new UnmanagedCheckWatcher(); unmanaged_watcher.callback = CallbackFunctionPtr; InitializeUnmanagedWatcher(unmanaged_watcher); }
public CheckWatcher(Loop loop, CheckWatcherCallback callback) : base(loop) { this.callback = callback; unmanaged_watcher = new UnmanagedCheckWatcher (); unmanaged_watcher.callback = CallbackFunctionPtr; InitializeUnmanagedWatcher (unmanaged_watcher); }