Source

pecl-ev / watcher.c

Diff from to

File watcher.c

    +----------------------------------------------------------------------+
 */
 
+#if 0
 #include "embed.h"
 #include "priv.h"
 #include "watcher.h"
+#endif
+#include "php_ev.h"
 
 /* Defined in ev.c */
 extern zend_class_entry *ev_loop_class_entry_ptr;
 #endif
 #if EV_SIGNAL_ENABLE
 		case EV_SIGNAL:
-			PHP_EV_WATCHER_START(ev_signal, watcher);
+			PHP_EV_SIGNAL_START((ev_signal *) watcher);
 			break;
 #endif
 #if EV_CHILD_ENABLE
 #endif
 #if EV_SIGNAL_ENABLE
 		case EV_SIGNAL:
-			PHP_EV_WATCHER_STOP(ev_signal, watcher);
+			PHP_EV_SIGNAL_STOP((ev_signal *) watcher);
 			break;
 #endif
 #if EV_CHILD_ENABLE