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

Comparing libev/ev.pod (file contents):
Revision 1.71 by root, Fri Dec 7 20:13:09 2007 UTC vs.
Revision 1.72 by root, Fri Dec 7 20:19:16 2007 UTC

1749This automatically includes F<ev.h> and puts all of its definitions (many 1749This automatically includes F<ev.h> and puts all of its definitions (many
1750of them macros) into the global namespace. All C++ specific things are 1750of them macros) into the global namespace. All C++ specific things are
1751put into the C<ev> namespace. It should support all the same embedding 1751put into the C<ev> namespace. It should support all the same embedding
1752options as F<ev.h>, most notably C<EV_MULTIPLICITY>. 1752options as F<ev.h>, most notably C<EV_MULTIPLICITY>.
1753 1753
1754Care has been taken to keep the overhead low. The only data member added 1754Care has been taken to keep the overhead low. The only data member the C++
1755to the C-style watchers is the event loop the watcher is associated with 1755classes add (compared to plain C-style watchers) is the event loop pointer
1756(or no additional members at all if you disable C<EV_MULTIPLICITY> when 1756that the watcher is associated with (or no additional members at all if
1757embedding libev). 1757you disable C<EV_MULTIPLICITY> when embedding libev).
1758 1758
1759Currently, functions and static and non-static member functions can be 1759Currently, functions, and static and non-static member functions can be
1760used as callbacks. Other types should be easy to add as long as they only 1760used as callbacks. Other types should be easy to add as long as they only
1761need one additional pointer for context. If you need support for other 1761need one additional pointer for context. If you need support for other
1762types of functors please contact the author (preferably after implementing 1762types of functors please contact the author (preferably after implementing
1763it). 1763it).
1764 1764

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines