summaryrefslogtreecommitdiff
path: root/ev++.C
diff options
context:
space:
mode:
authorroot <root>2007-11-11 16:58:25 +0000
committerroot <root>2007-11-11 16:58:25 +0000
commita1558a0f509cece0efa6164c6b8ee42d6cdf7f25 (patch)
tree2a7ba0d679fdb55712f00047b197e4722a11cc59 /ev++.C
parent9ddee32d6b474c0c6041fbaefade615080892b9c (diff)
do away with ev++.C
Diffstat (limited to 'ev++.C')
-rw-r--r--ev++.C17
1 files changed, 0 insertions, 17 deletions
diff --git a/ev++.C b/ev++.C
deleted file mode 100644
index d053c89..0000000
--- a/ev++.C
+++ /dev/null
@@ -1,17 +0,0 @@
-#include "ev++.h"
-
-namespace ev {
- extern "C" {
- void cb_io (struct ev_io *w, int revents) { (*static_cast<io *>(w))(revents); }
- void cb_timer (struct ev_timer *w, int revents) { (*static_cast<timer *>(w))(revents); }
- #if EV_PERIODICS
- void cb_periodic (struct ev_periodic *w, int revents) { (*static_cast<periodic *>(w))(revents); }
- #endif
- void cb_idle (struct ev_idle *w, int revents) { (*static_cast<idle *>(w))(revents); }
- void cb_prepare (struct ev_prepare *w, int revents) { (*static_cast<prepare *>(w))(revents); }
- void cb_check (struct ev_check *w, int revents) { (*static_cast<check *>(w))(revents); }
- void cb_sig (struct ev_signal *w, int revents) { (*static_cast<sig *>(w))(revents); }
- void cb_child (struct ev_child *w, int revents) { (*static_cast<child *>(w))(revents); }
- }
-}
-