summaryrefslogtreecommitdiff
path: root/ev_vars.h
diff options
context:
space:
mode:
authorroot <root>2009-07-10 19:10:19 +0000
committerroot <root>2009-07-10 19:10:19 +0000
commit9a4bdcd75ef07d4a9fee91d2dd3f9d4ac1c57580 (patch)
tree0aadce32eacc79b88ac6226d3333c3b4aea10228 /ev_vars.h
parentfe7f056cfc2dc30ab33a1e36b0005fa1e39b0e50 (diff)
*** empty log message ***
Diffstat (limited to 'ev_vars.h')
-rw-r--r--ev_vars.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/ev_vars.h b/ev_vars.h
index 8c6bbab..da73ca2 100644
--- a/ev_vars.h
+++ b/ev_vars.h
@@ -48,7 +48,7 @@ VARx(ev_tstamp, timeout_blocktime)
VARx(int, backend)
VARx(int, activecnt) /* total number of active events ("refcount") */
-VARx(char, loop_done) /* signal by ev_unloop */
+VARx(unsigned char, loop_done) /* signal by ev_unloop */
VARx(int, backend_fd)
VARx(ev_tstamp, backend_fudge) /* assumed typical timer resolution */
@@ -166,16 +166,13 @@ VARx(char, fs_2625) /* whether we are running in linux 2.6.25 or newer */
VAR (fs_hash, ANFS fs_hash [EV_INOTIFY_HASHSIZE])
#endif
-#if EV_MINIMAL < 2
+#if EV_MINIMAL < 2 || EV_GENWRAP
VARx(unsigned int, loop_count) /* total number of loop iterations/blocks */
VARx(unsigned int, loop_depth) /* #ev_loop enters - #ev_loop leaves */
VARx(void *, userdata)
-#endif
-
-#if EV_MINIMAL < 2
-VAR (suspend_cb, void (*suspend_cb)(EV_P))
-VAR (resume_cb , void (*resume_cb) (EV_P))
+VAR (release_cb, void (*release_cb)(EV_P))
+VAR (acquire_cb, void (*acquire_cb)(EV_P))
VAR (invoke_cb , void (*invoke_cb) (EV_P))
#endif