… | |
… | |
3917 | with C<operator ()> can be used as callbacks. Other types should be easy |
3917 | with C<operator ()> can be used as callbacks. Other types should be easy |
3918 | to add as long as they only need one additional pointer for context. If |
3918 | to add as long as they only need one additional pointer for context. If |
3919 | you need support for other types of functors please contact the author |
3919 | you need support for other types of functors please contact the author |
3920 | (preferably after implementing it). |
3920 | (preferably after implementing it). |
3921 | |
3921 | |
|
|
3922 | For all this to work, your C++ compiler either has to use the same calling |
|
|
3923 | conventions as your C compiler (for static member functions), or you have |
|
|
3924 | to embed libev and compile libev itself as C++. |
|
|
3925 | |
3922 | Here is a list of things available in the C<ev> namespace: |
3926 | Here is a list of things available in the C<ev> namespace: |
3923 | |
3927 | |
3924 | =over 4 |
3928 | =over 4 |
3925 | |
3929 | |
3926 | =item C<ev::READ>, C<ev::WRITE> etc. |
3930 | =item C<ev::READ>, C<ev::WRITE> etc. |