diff options
-rw-r--r-- | ev.c | 2 | ||||
-rw-r--r-- | ev.h | 8 | ||||
-rw-r--r-- | ev_epoll.c | 2 | ||||
-rw-r--r-- | ev_select.c | 2 |
4 files changed, 14 insertions, 0 deletions
@@ -1,4 +1,6 @@ /* + * libev event processing core, watcher management + * * Copyright (c) 2007 Marc Alexander Lehmann <libev@schmorp.de> * All rights reserved. * @@ -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 @@ -1,4 +1,6 @@ /* + * libev epoll fd activity backend + * * Copyright (c) 2007 Marc Alexander Lehmann <libev@schmorp.de> * All rights reserved. * diff --git a/ev_select.c b/ev_select.c index 0dfa312..7bbf622 100644 --- a/ev_select.c +++ b/ev_select.c @@ -1,4 +1,6 @@ /* + * libev select fd activity backend + * * Copyright (c) 2007 Marc Alexander Lehmann <libev@schmorp.de> * All rights reserved. * |