summaryrefslogtreecommitdiff
path: root/ev++.h
diff options
context:
space:
mode:
authorroot <root>2008-01-25 15:45:08 +0000
committerroot <root>2008-01-25 15:45:08 +0000
commit6104d060a61e32a1a8d4e71d947b340fd13ac2f7 (patch)
tree25847f264eba11a4c9f0bb152f129dc98bed7871 /ev++.h
parent66b451751514fa881505e9465cdd8e9484fef65d (diff)
*** empty log message ***
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)