summaryrefslogtreecommitdiff
path: root/ev++.h
diff options
context:
space:
mode:
Diffstat (limited to 'ev++.h')
-rw-r--r--ev++.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/ev++.h b/ev++.h
index cd9160a..0264934 100644
--- a/ev++.h
+++ b/ev++.h
@@ -159,22 +159,22 @@ namespace ev {
}
#if EV_MULTIPLICITY
- bool operator== (struct ev_loop *other) const throw ()
+ bool operator == (struct ev_loop *other) const throw ()
{
return this->EV_AX == other;
}
- bool operator!= (struct ev_loop *other) const throw ()
+ bool operator != (struct ev_loop *other) const throw ()
{
return ! (*this == other);
}
- bool operator== (const struct ev_loop *other) const throw ()
+ bool operator == (const struct ev_loop *other) const throw ()
{
return this->EV_AX == other;
}
- bool operator!= (const struct ev_loop *other) const throw ()
+ bool operator != (const struct ev_loop *other) const throw ()
{
return (*this == other);
}
@@ -697,17 +697,17 @@ namespace ev {
EV_END_WATCHER (sig, signal)
EV_BEGIN_WATCHER (child, child)
- void set (int pid) throw ()
+ void set (int pid, int trace = 0) throw ()
{
int active = is_active ();
if (active) stop ();
- ev_child_set (static_cast<ev_child *>(this), pid);
+ ev_child_set (static_cast<ev_child *>(this), pid, trace);
if (active) start ();
}
- void start (int pid) throw ()
+ void start (int pid, int trace = 0) throw ()
{
- set (pid);
+ set (pid, trace);
start ();
}
EV_END_WATCHER (child, child)