Hi,

Please find here: http://paste.pocoo.org/raw/561723/ a patch against the 
current version of libeio.
This patch addresses 2 things (mainly linked to ease of use in C++):

- remove trailing commas in enums in eio.h (since C++ does not allow them).

- add an opaque applicative pointer in eio_init, passed to both want_poll_cb 
and done_poll_cb
  callbacks afterwards (this is not to support multiple event loops but to ease 
C++ integration
  when the event loop is not a globally-accessible static symbol but part of an 
object members
  instead).

Best regards,
Pierre-Yves

_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to