Patch for libeio

Pierre-Yves Kerembellec py.kerembellec at gmail.com
Tue Mar 6 10:23:39 CET 2012


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20120306/50b63ddf/attachment.html>


More information about the libev mailing list