Commits

Ruslan Osmanov committed 6e2bb05

Fix: arginfo for EvPeriodic::__construct
Fix: EvWatcher abstract flag

Comments (0)

Files changed (3)

+Add EvLoop::setInvokePendingCallback(`ev_set_invoke_pending_cb`)?
+=================================================================
+
+Who needs it in PHP :/?
+
 Clone  handlers
 ===============
 
 	/* {{{ EvWatcher */
 	PHP_EV_REGISTER_CLASS_ENTRY("EvWatcher", ev_watcher_class_entry_ptr, ev_watcher_class_entry_functions);
 	ce = ev_watcher_class_entry_ptr;
+	ce->ce_flags |= ZEND_ACC_EXPLICIT_ABSTRACT_CLASS;
 	zend_hash_init(&php_ev_watcher_properties, 0, NULL, NULL, 1);
 	PHP_EV_ADD_CLASS_PROPERTIES(&php_ev_watcher_properties, ev_watcher_property_entries);
 	PHP_EV_DECL_CLASS_PROPERTIES(ce, ev_watcher_property_entry_info);
 
 #if EV_PERIODIC_ENABLE
 /* {{{ EvPeriodic */
-ZEND_BEGIN_ARG_INFO_EX(arginfo_ev_periodic, 0, 0, 3)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_ev_periodic, 0, 0, 4)
 	ZEND_ARG_INFO(0, offset)
 	ZEND_ARG_INFO(0, interval)
+	ZEND_ARG_INFO(0, reschedule_cb)
 	ZEND_ARG_INFO(0, callback)
 	ZEND_ARG_INFO(0, data)
 	ZEND_ARG_INFO(0, priority)