Source

pecl-ev / php_ev.h

Diff from to
 PHP_RSHUTDOWN_FUNCTION(ev);
 PHP_MINFO_FUNCTION(ev);
 
+/* Max. signum supported */
+#ifndef EV_NSIG
+# define EV_NSIG 32
+#endif
+
 ZEND_BEGIN_MODULE_GLOBALS(ev)
 	zval *default_loop;
+	/* Helps to prevent binding of different `signum's to a loop */
+	struct ev_loop *signal_loops[EV_NSIG - 1];
 ZEND_END_MODULE_GLOBALS(ev)
 ZEND_EXTERN_MODULE_GLOBALS(ev)
 
 extern zend_module_entry ev_module_entry;
 #define phpext_ev_ptr &ev_module_entry
 
-#define PHP_EV_VERSION "0.2.0"
+#define PHP_EV_VERSION "0.2.1"
 
 #endif /* PHP_EV_H */