ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev++.h
(Generate patch)

Comparing libev/ev++.h (file contents):
Revision 1.61 by root, Sun Jun 24 14:30:40 2012 UTC vs.
Revision 1.63 by root, Fri Dec 1 06:37:30 2017 UTC

173 return this->EV_AX == EV_A; 173 return this->EV_AX == EV_A;
174 } 174 }
175 175
176 bool operator != (const EV_P) const throw () 176 bool operator != (const EV_P) const throw ()
177 { 177 {
178 return (*this == EV_A); 178 return ! (*this == EV_A);
179 } 179 }
180 180
181 operator struct ev_loop * () const throw () 181 operator struct ev_loop * () const throw ()
182 { 182 {
183 return EV_AX; 183 return EV_AX;
573 () throw () \ 573 () throw () \
574 { \ 574 { \
575 } 575 }
576 #endif 576 #endif
577 577
578 /* using a template here would require quite a bit more lines, 578 /* using a template here would require quite a few more lines,
579 * so a macro solution was chosen */ 579 * so a macro solution was chosen */
580 #define EV_BEGIN_WATCHER(cppstem,cstem) \ 580 #define EV_BEGIN_WATCHER(cppstem,cstem) \
581 \ 581 \
582 struct cppstem : base<ev_ ## cstem, cppstem> \ 582 struct cppstem : base<ev_ ## cstem, cppstem> \
583 { \ 583 { \

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines