1. Ruslan Osmanov
  2. pecl-ev

Commits

Ruslan Osmanov  committed 5d13baa

Refact: removed inline decl

  • Participants
  • Parent commits 55c131a
  • Branches master

Comments (0)

Files changed (2)

File watcher.c

View file
 extern zend_class_entry *ev_loop_class_entry_ptr;
 
 /* {{{ php_ev_set_watcher_priority() */
-inline void php_ev_set_watcher_priority(ev_watcher *watcher, long priority TSRMLS_DC)
+void php_ev_set_watcher_priority(ev_watcher *watcher, long priority TSRMLS_DC)
 {
 	PHP_EV_CHECK_PENDING_WATCHER(watcher);	
 	ev_set_priority(watcher, priority);

File watcher.h

View file
 void *php_ev_new_watcher(size_t size, zval *self, php_ev_loop *loop,
 		const zend_fcall_info *pfci, const zend_fcall_info_cache *pfcc, zval *data, int priority TSRMLS_DC);
 void php_ev_stop_watcher(ev_watcher *watcher TSRMLS_DC);
-inline void php_ev_set_watcher_priority(ev_watcher *watcher, long priority TSRMLS_DC);
+void php_ev_set_watcher_priority(ev_watcher *watcher, long priority TSRMLS_DC);
 void php_ev_start_watcher(ev_watcher *watcher TSRMLS_DC);
 
 #endif /* PHP_EV_WATCHER_H */