summaryrefslogtreecommitdiff
path: root/ev.h
diff options
context:
space:
mode:
authorroot <root>2007-11-01 13:11:11 +0000
committerroot <root>2007-11-01 13:11:11 +0000
commit34ce8134fec96758f92d4b5a47d151081c6b74d6 (patch)
tree5265300a48e2fec5c189e3e34a794e4cbd4fdd80 /ev.h
parent8b9a210d6531a3b35e9e6138473f6456318bae22 (diff)
*** empty log message ***
Diffstat (limited to 'ev.h')
-rw-r--r--ev.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ev.h b/ev.h
index a7898a5..1ffed6f 100644
--- a/ev.h
+++ b/ev.h
@@ -30,6 +30,10 @@
#ifndef EV_H
#define EV_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef double ev_tstamp;
/* eventmask, revents, events... */
@@ -245,5 +249,9 @@ void ev_child_start (struct ev_child *w);
void ev_child_stop (struct ev_child *w);
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif