Commits

Ruslan Osmanov committed 84dde2b

Fix: incompatible pointer
Fix: warnings about trailing ';'s

Comments (0)

Files changed (2)

 	zval          *loop_other;
 	ev_embed      *embed_watcher;
 	php_ev_object *o_loop_other;
-	php_ev_embed  *loop_other_ptr;
+	ev_loop       *loop_other_ptr;
 
 	if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "O",
 				&loop_other) == FAILURE) {
 
 	PHP_EV_REGISTER_LONG_CONSTANT(EV_MINPRI);
 	PHP_EV_REGISTER_LONG_CONSTANT(EV_MAXPRI);
-
 	PHP_EV_REGISTER_LONG_CONSTANT(EV_READ);
 	PHP_EV_REGISTER_LONG_CONSTANT(EV_WRITE);
+	PHP_EV_REGISTER_LONG_CONSTANT(EV_TIMER);
+	PHP_EV_REGISTER_LONG_CONSTANT(EV_PERIODIC);
+	PHP_EV_REGISTER_LONG_CONSTANT(EV_SIGNAL);
+	PHP_EV_REGISTER_LONG_CONSTANT(EV_CHILD);
+	PHP_EV_REGISTER_LONG_CONSTANT(EV_STAT);
+	PHP_EV_REGISTER_LONG_CONSTANT(EV_IDLE);
+	PHP_EV_REGISTER_LONG_CONSTANT(EV_PREPARE);
+	PHP_EV_REGISTER_LONG_CONSTANT(EV_CHECK);
+	PHP_EV_REGISTER_LONG_CONSTANT(EV_EMBED);
+	PHP_EV_REGISTER_LONG_CONSTANT(EV_CUSTOM);
+	PHP_EV_REGISTER_LONG_CONSTANT(EV_ERROR);
 
 	return SUCCESS;
 }
 # include "periodic.c"
 #endif
 #if EV_SIGNAL_ENABLE
-# include "signal.c";
+# include "signal.c"
 #endif
 #if EV_CHILD_ENABLE
-# include "child.c";
+# include "child.c"
 #endif
 #if EV_STAT_ENABLE
-# include "stat.c";
+# include "stat.c"
 #endif
 #if EV_IDLE_ENABLE
-# include "idle.c";
+# include "idle.c"
 #endif
 #if EV_CHECK_ENABLE
-# include "check.c";
+# include "check.c"
 #endif
 #if EV_PREPARE_ENABLE
-# include "prepare.c";
+# include "prepare.c"
 #endif
 #if EV_EMBED_ENABLE
-# include "embed.c";
+# include "embed.c"
 #endif
 #if EV_FORK_ENABLE
-# include "fork.c";
+# include "fork.c"
 #endif
 
 #endif /* HAVE_EV */