Commits

Ruslan Osmanov committed ff81fca

Fix: EventBase::reInit method's arginfo

Comments (0)

Files changed (4)

  * returns NULL. */
 PHP_METHOD(EventBase, getTimeOfDayCached)
 {
-	zval                  *zbase = getThis();
-	php_event_base_t      *b;
-	struct timeval         tv;
+	zval             *zbase = getThis();
+	php_event_base_t *b;
+	struct timeval    tv;
 
 	if (zend_parse_parameters_none() == FAILURE) {
 		return;
 	if (event_base_gettimeofday_cached(b->base, &tv)) {
 		RETURN_NULL();
 	}
-	
+
 	RETVAL_DOUBLE(PHP_EVENT_TIMEVAL_TO_DOUBLE(tv));
 }
 /* }}} */
 #endif
 
 /* {{{ proto bool Event::setPriority(int priority);
- * Make event pending. */
+ * Set event priority. */
 PHP_METHOD(Event, setPriority)
 {
 	zval        *zevent = getThis();
   Fix: Event::__construct failed with Event::TIMEOUT flag
   Fix: memory leak in EventBuffer::readLine
   Add: --with-event-pthreads configure option
+  Fix: EventBase::reInit method's arginfo
   ]]></notes>
   <!--}}}-->
   <!--{{{ Contents -->
   Fix: Event::__construct failed with Event::TIMEOUT flag
   Fix: memory leak in EventBuffer::readLine
   Add: --with-event-pthreads configure option
+  Fix: EventBase::reInit method's arginfo
   ]]></notes>
     </release>
     <!--}}}-->
 	ZEND_ARG_INFO(0, flags)
 ZEND_END_ARG_INFO();
 
-ZEND_BEGIN_ARG_INFO_EX(arginfo_event_reinit, 0, 0, 1)
-	ZEND_ARG_INFO(0, base)
-ZEND_END_ARG_INFO();
-
 ZEND_BEGIN_ARG_INFO_EX(arginfo_evtimer_new, 0, 0, 2)
 	ZEND_ARG_INFO(0, base)
 	ZEND_ARG_INFO(0, cb)
 	PHP_ME(EventBase, gotStop,            arginfo_event__void,              ZEND_ACC_PUBLIC)
 	PHP_ME(EventBase, gotExit,            arginfo_event__void,              ZEND_ACC_PUBLIC)
 	PHP_ME(EventBase, getTimeOfDayCached, arginfo_event__void,              ZEND_ACC_PUBLIC)
-	PHP_ME(EventBase, reInit,             arginfo_event_reinit,             ZEND_ACC_PUBLIC)
+	PHP_ME(EventBase, reInit,             arginfo_event__void,              ZEND_ACC_PUBLIC)
 #if LIBEVENT_VERSION_NUMBER >= 0x02010100
 	PHP_ME(EventBase, updateCacheTime, arginfo_event__void, ZEND_ACC_PUBLIC)
 #endif
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.