Ruslan Osmanov avatar 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)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.