summaryrefslogtreecommitdiff
path: root/ev.h
diff options
context:
space:
mode:
authorMarc Alexander Lehmann <libev@schmorp.de>2010-11-04 18:40:09 +0000
committerMarc Alexander Lehmann <libev@schmorp.de>2010-11-04 18:40:09 +0000
commit19147b99c0d4482c02417473f87b9ab994a3e4df (patch)
treeff7029b54d9b531878589bc524481cfb69be4ffc /ev.h
parentd17e1456bf627458b05814cd8810d31fc0147ada (diff)
downloadlibev-19147b99c0d4482c02417473f87b9ab994a3e4df.tar.gz
libev-19147b99c0d4482c02417473f87b9ab994a3e4df.zip
*** empty log message ***
Diffstat (limited to 'ev.h')
-rw-r--r--ev.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ev.h b/ev.h
index 7bf91e5..f10b62d 100644
--- a/ev.h
+++ b/ev.h
@@ -809,9 +809,9 @@ void ev_async_send (EV_P_ ev_async *w);
EV_INLINE void ev_default_destroy (void) { ev_loop_destroy (EV_DEFAULT); }
EV_INLINE void ev_default_fork (void) { ev_loop_fork (EV_DEFAULT); }
#if EV_FEATURE_API
- EV_INLINE void ev_loop_count (EV_P) { ev_iteration (EV_A); }
- EV_INLINE void ev_loop_depth (EV_P) { ev_depth (EV_A); }
- EV_INLINE void ev_loop_verify (EV_P) { ev_verify (EV_A); }
+ EV_INLINE unsigned int ev_loop_count (EV_P) { return ev_iteration (EV_A); }
+ EV_INLINE unsigned int ev_loop_depth (EV_P) { return ev_depth (EV_A); }
+ EV_INLINE void ev_loop_verify (EV_P) { ev_verify (EV_A); }
#endif
#endif
#else