… | |
… | |
122 | .\} |
122 | .\} |
123 | .rm #[ #] #H #V #F C |
123 | .rm #[ #] #H #V #F C |
124 | .\" ======================================================================== |
124 | .\" ======================================================================== |
125 | .\" |
125 | .\" |
126 | .IX Title "LIBEV 3" |
126 | .IX Title "LIBEV 3" |
127 | .TH LIBEV 3 "2012-02-04" "libev-4.11" "libev - high performance full featured event loop" |
127 | .TH LIBEV 3 "2012-03-23" "libev-4.11" "libev - high performance full featured event loop" |
128 | .\" For nroff, turn off justification. Always turn off hyphenation; it makes |
128 | .\" For nroff, turn off justification. Always turn off hyphenation; it makes |
129 | .\" way too many mistakes in technical documents. |
129 | .\" way too many mistakes in technical documents. |
130 | .if n .ad l |
130 | .if n .ad l |
131 | .nh |
131 | .nh |
132 | .SH "NAME" |
132 | .SH "NAME" |
… | |
… | |
4055 | Currently, functions, static and non-static member functions and classes |
4055 | Currently, functions, static and non-static member functions and classes |
4056 | with \f(CW\*(C`operator ()\*(C'\fR can be used as callbacks. Other types should be easy |
4056 | with \f(CW\*(C`operator ()\*(C'\fR can be used as callbacks. Other types should be easy |
4057 | to add as long as they only need one additional pointer for context. If |
4057 | to add as long as they only need one additional pointer for context. If |
4058 | you need support for other types of functors please contact the author |
4058 | you need support for other types of functors please contact the author |
4059 | (preferably after implementing it). |
4059 | (preferably after implementing it). |
|
|
4060 | .PP |
|
|
4061 | For all this to work, your \*(C+ compiler either has to use the same calling |
|
|
4062 | conventions as your C compiler (for static member functions), or you have |
|
|
4063 | to embed libev and compile libev itself as \*(C+. |
4060 | .PP |
4064 | .PP |
4061 | Here is a list of things available in the \f(CW\*(C`ev\*(C'\fR namespace: |
4065 | Here is a list of things available in the \f(CW\*(C`ev\*(C'\fR namespace: |
4062 | .ie n .IP """ev::READ"", ""ev::WRITE"" etc." 4 |
4066 | .ie n .IP """ev::READ"", ""ev::WRITE"" etc." 4 |
4063 | .el .IP "\f(CWev::READ\fR, \f(CWev::WRITE\fR etc." 4 |
4067 | .el .IP "\f(CWev::READ\fR, \f(CWev::WRITE\fR etc." 4 |
4064 | .IX Item "ev::READ, ev::WRITE etc." |
4068 | .IX Item "ev::READ, ev::WRITE etc." |