summaryrefslogtreecommitdiff
path: root/ev.h
diff options
context:
space:
mode:
authorroot <root>2007-11-10 21:19:29 +0000
committerroot <root>2007-11-10 21:19:29 +0000
commitd1d02ca0040b567cfc3081701b52b0361412a444 (patch)
tree2ce03d91e0bb6051592e3fc815a7f5b9d5ab2131 /ev.h
parent92344af49ee4ba16adc8fadb616ed750e13c4ca1 (diff)
first rough cut at c++ interface
Diffstat (limited to 'ev.h')
-rw-r--r--ev.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ev.h b/ev.h
index cde9da0..369e45c 100644
--- a/ev.h
+++ b/ev.h
@@ -55,11 +55,15 @@ struct ev_loop;
# define EV_P_ EV_P,
# define EV_A loop
# define EV_A_ EV_A,
+# define EV_DEFAULT_A ev_default_loop (0)
+# define EV_DEFAULT_A_ EV_DEFAULT_A,
#else
# define EV_P void
# define EV_P_
# define EV_A
# define EV_A_
+# define EV_DEFAULT_A
+# define EV_DEFAULT_A_
#endif
/* eventmask, revents, events... */