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

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

1899This automatically includes \fIev.h\fR and puts all of its definitions (many 1899This automatically includes \fIev.h\fR and puts all of its definitions (many
1900of them macros) into the global namespace. All \*(C+ specific things are 1900of them macros) into the global namespace. All \*(C+ specific things are
1901put into the \f(CW\*(C`ev\*(C'\fR namespace. It should support all the same embedding 1901put into the \f(CW\*(C`ev\*(C'\fR namespace. It should support all the same embedding
1902options as \fIev.h\fR, most notably \f(CW\*(C`EV_MULTIPLICITY\*(C'\fR. 1902options as \fIev.h\fR, most notably \f(CW\*(C`EV_MULTIPLICITY\*(C'\fR.
1903.PP 1903.PP
1904Care has been taken to keep the overhead low. The only data member added 1904Care has been taken to keep the overhead low. The only data member the \*(C+
1905to the C\-style watchers is the event loop the watcher is associated with 1905classes add (compared to plain C\-style watchers) is the event loop pointer
1906(or no additional members at all if you disable \f(CW\*(C`EV_MULTIPLICITY\*(C'\fR when 1906that the watcher is associated with (or no additional members at all if
1907embedding libev). 1907you disable \f(CW\*(C`EV_MULTIPLICITY\*(C'\fR when embedding libev).
1908.PP 1908.PP
1909Currently, functions and static and non-static member functions can be 1909Currently, functions, and static and non-static member functions can be
1910used as callbacks. Other types should be easy to add as long as they only 1910used as callbacks. Other types should be easy to add as long as they only
1911need one additional pointer for context. If you need support for other 1911need one additional pointer for context. If you need support for other
1912types of functors please contact the author (preferably after implementing 1912types of functors please contact the author (preferably after implementing
1913it). 1913it).
1914.PP 1914.PP

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines