From: root Date: Fri, 7 Dec 2007 20:19:16 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: rel-1_72~6 X-Git-Url: https://git.llucax.com/software/libev.git/commitdiff_plain/97157ad66d6312deeafc15a8e80ef6f83f2b0de2?ds=sidebyside;hp=7f61bc3d979ef53b867172664694f8fcf9e5bdd0 *** empty log message *** --- diff --git a/ev.3 b/ev.3 index 4f00179..1f33e81 100644 --- a/ev.3 +++ b/ev.3 @@ -1901,12 +1901,12 @@ of them macros) into the global namespace. All \*(C+ specific things are put into the \f(CW\*(C`ev\*(C'\fR namespace. It should support all the same embedding options as \fIev.h\fR, most notably \f(CW\*(C`EV_MULTIPLICITY\*(C'\fR. .PP -Care has been taken to keep the overhead low. The only data member added -to the C\-style watchers is the event loop the watcher is associated with -(or no additional members at all if you disable \f(CW\*(C`EV_MULTIPLICITY\*(C'\fR when -embedding libev). +Care has been taken to keep the overhead low. The only data member the \*(C+ +classes add (compared to plain C\-style watchers) is the event loop pointer +that the watcher is associated with (or no additional members at all if +you disable \f(CW\*(C`EV_MULTIPLICITY\*(C'\fR when embedding libev). .PP -Currently, functions and static and non-static member functions can be +Currently, functions, and static and non-static member functions can be used as callbacks. Other types should be easy to add as long as they only need one additional pointer for context. If you need support for other types of functors please contact the author (preferably after implementing diff --git a/ev.html b/ev.html index efd79da..738d6d0 100644 --- a/ev.html +++ b/ev.html @@ -6,7 +6,7 @@ - + @@ -1742,11 +1742,11 @@ the callback model to a model using method callbacks on objects.

of them macros) into the global namespace. All C++ specific things are put into the ev namespace. It should support all the same embedding options as ev.h, most notably EV_MULTIPLICITY.

-

Care has been taken to keep the overhead low. The only data member added -to the C-style watchers is the event loop the watcher is associated with -(or no additional members at all if you disable EV_MULTIPLICITY when -embedding libev).

-

Currently, functions and static and non-static member functions can be +

Care has been taken to keep the overhead low. The only data member the C++ +classes add (compared to plain C-style watchers) is the event loop pointer +that the watcher is associated with (or no additional members at all if +you disable EV_MULTIPLICITY when embedding libev).

+

Currently, functions, and static and non-static member functions can be used as callbacks. Other types should be easy to add as long as they only need one additional pointer for context. If you need support for other types of functors please contact the author (preferably after implementing diff --git a/ev.pod b/ev.pod index c02aca2..d40456b 100644 --- a/ev.pod +++ b/ev.pod @@ -1751,12 +1751,12 @@ of them macros) into the global namespace. All C++ specific things are put into the C namespace. It should support all the same embedding options as F, most notably C. -Care has been taken to keep the overhead low. The only data member added -to the C-style watchers is the event loop the watcher is associated with -(or no additional members at all if you disable C when -embedding libev). +Care has been taken to keep the overhead low. The only data member the C++ +classes add (compared to plain C-style watchers) is the event loop pointer +that the watcher is associated with (or no additional members at all if +you disable C when embedding libev). -Currently, functions and static and non-static member functions can be +Currently, functions, and static and non-static member functions can be used as callbacks. Other types should be easy to add as long as they only need one additional pointer for context. If you need support for other types of functors please contact the author (preferably after implementing