diff options
author | root <root> | 2010-03-16 20:32:20 +0000 |
---|---|---|
committer | root <root> | 2010-03-16 20:32:20 +0000 |
commit | cc1c382b0071981b0f3a1cc518dbcab97710b06a (patch) | |
tree | 44941537b082df5f8d3e918d80b1c3c5080ab9ad /ev.h | |
parent | c5568c8fe01771bcaa754a9423a78ac21d581293 (diff) |
*** empty log message ***
Diffstat (limited to 'ev.h')
-rw-r--r-- | ev.h | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -590,9 +590,15 @@ void ev_unref (EV_P); void ev_once (EV_P_ int fd, int events, ev_tstamp timeout, void (*cb)(int revents, void *arg), void *arg); # if EV_FEATURE_API -unsigned int ev_loop_count (EV_P); /* number of loop iterations */ -unsigned int ev_loop_depth (EV_P); /* #ev_loop enters - #ev_loop leaves */ -void ev_loop_verify (EV_P); /* abort if loop data corrupted */ +unsigned int ev_iteration (EV_P); /* number of loop iterations */ +unsigned int ev_depth (EV_P); /* #ev_loop enters - #ev_loop leaves */ +void ev_verify (EV_P); /* abort if loop data corrupted */ + +/* pre 4.0 API */ +# if EV_MULTIPLICITY +# define ev_loop_count(l) ev_iteration (l) +# define ev_loop_depth(l) ev_depth (l) +# endif void ev_set_io_collect_interval (EV_P_ ev_tstamp interval); /* sleep at least this time, default 0 */ void ev_set_timeout_collect_interval (EV_P_ ev_tstamp interval); /* sleep at least this time, default 0 */ |