summaryrefslogtreecommitdiff
path: root/ev.h
diff options
context:
space:
mode:
authorroot <root>2008-05-22 02:44:57 +0000
committerroot <root>2008-05-22 02:44:57 +0000
commitd41249dd73b09bfe9b65221b4b15ae5805291e91 (patch)
tree51bc1a90a3dbe895b952b49c5ed7b648881fdb25 /ev.h
parent8ddd8acbba9f80fef5a7fd9b84c664fd8136f955 (diff)
*** empty log message ***
Diffstat (limited to 'ev.h')
-rw-r--r--ev.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/ev.h b/ev.h
index 1327859..128b223 100644
--- a/ev.h
+++ b/ev.h
@@ -419,7 +419,7 @@ void ev_set_allocator (void *(*cb)(void *ptr, long size));
*/
void ev_set_syserr_cb (void (*cb)(const char *msg));
-# if EV_MULTIPLICITY
+#if EV_MULTIPLICITY
EV_INLINE struct ev_loop *
ev_default_loop_uc (void)
{
@@ -449,10 +449,11 @@ ev_default_loop (unsigned int flags)
struct ev_loop *ev_loop_new (unsigned int flags);
void ev_loop_destroy (EV_P);
void ev_loop_fork (EV_P);
+void ev_loop_verify (EV_P);
ev_tstamp ev_now (EV_P); /* time w.r.t. timers and the eventloop, updated after each poll */
-# else
+#else
int ev_default_loop (unsigned int flags); /* returns true when successful */
@@ -463,7 +464,7 @@ ev_now (void)
return ev_rt_now;
}
-# endif
+#endif /* multiplicity */
EV_INLINE int
ev_is_default_loop (EV_P)
@@ -486,7 +487,7 @@ void ev_default_fork (void);
unsigned int ev_backend (EV_P); /* backend in use by loop */
unsigned int ev_loop_count (EV_P); /* number of loop iterations */
-#endif
+#endif /* prototypes */
#define EVLOOP_NONBLOCK 1 /* do not block/wait */
#define EVLOOP_ONESHOT 2 /* block *once* only */