summaryrefslogtreecommitdiffstats
path: root/libev/ev++.h
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@mailme.dk>2016-01-07 19:49:28 +0100
committerEmil Renner Berthing <esmil@mailme.dk>2016-01-08 00:20:13 +0100
commite005effffa9b69bb1a93a8031308700ae8e4a857 (patch)
treef1f24afa0a3924ba3a714478492dbcbe58e0ccf8 /libev/ev++.h
parentcd98e6c777ea3c95ff1eb6f933e28813ccee80dc (diff)
downloadlem-e005effffa9b69bb1a93a8031308700ae8e4a857.tar.gz
lem-e005effffa9b69bb1a93a8031308700ae8e4a857.tar.xz
lem-e005effffa9b69bb1a93a8031308700ae8e4a857.zip
libev: update to v4.22
Diffstat (limited to 'libev/ev++.h')
-rw-r--r--libev/ev++.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/libev/ev++.h b/libev/ev++.h
index c5a0896..4f0a36a 100644
--- a/libev/ev++.h
+++ b/libev/ev++.h
@@ -286,7 +286,7 @@ namespace ev {
template<class K, void (K::*method)(int)>
static void method_thunk (int revents, void *arg)
{
- static_cast<K *>(arg)->*method
+ (static_cast<K *>(arg)->*method)
(revents);
}
@@ -300,7 +300,7 @@ namespace ev {
template<class K, void (K::*method)()>
static void method_noargs_thunk (int revents, void *arg)
{
- static_cast<K *>(arg)->*method
+ (static_cast<K *>(arg)->*method)
();
}
@@ -513,7 +513,7 @@ namespace ev {
void feed_event (int revents) throw ()
{
- ev_feed_event (EV_A_ static_cast<const ev_watcher *>(this), revents);
+ ev_feed_event (EV_A_ static_cast<ev_watcher *>(this), revents);
}
};
@@ -552,12 +552,12 @@ namespace ev {
return ev_embeddable_backends ();
}
- inline void set_allocator (void *(*cb)(void *ptr, long size)) throw ()
+ inline void set_allocator (void *(*cb)(void *ptr, long size) throw ()) throw ()
{
ev_set_allocator (cb);
}
- inline void set_syserr_cb (void (*cb)(const char *msg)) throw ()
+ inline void set_syserr_cb (void (*cb)(const char *msg) throw ()) throw ()
{
ev_set_syserr_cb (cb);
}
@@ -575,7 +575,7 @@ namespace ev {
}
#endif
- /* using a template here would require quite a bit more lines,
+ /* using a template here would require quite a few more lines,
* so a macro solution was chosen */
#define EV_BEGIN_WATCHER(cppstem,cstem) \
\
@@ -764,7 +764,7 @@ namespace ev {
#if EV_EMBED_ENABLE
EV_BEGIN_WATCHER (embed, embed)
- void set (struct ev_loop *embedded_loop) throw ()
+ void set_embed (struct ev_loop *embedded_loop) throw ()
{
int active = is_active ();
if (active) stop ();