summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes4
-rw-r--r--ev.h6
2 files changed, 6 insertions, 4 deletions
diff --git a/Changes b/Changes
index 53ae61b..565c228 100644
--- a/Changes
+++ b/Changes
@@ -1,7 +1,9 @@
Revision history for libev, a high-performance and full-featured event loop.
- automake fucked it up, apparently, --add-missing -f is not quite enough
- to make it update its files. grrr.
+ to make it update its files, so 4.00 didn't install ev++.h and
+ event.h on make install. grrr.
+ - ev_loop(count|depth) didn't return anything (Robin Haberkorn).
- change EV_UNDEF to 0xffffffff to silence some overzealous compilers.
- use "(libev) " prefix for all libev error messages now.
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