On Wed, Dec 12, 2007 at 04:16:10AM +0100, Marc Lehmann <[EMAIL PROTECTED]> 
wrote:
>      template<void (*function)(int, short, void *)>

note that this makes it impossible to react to EV_ERROR as thats outside the
range of a typical short. However, as EV_ERROR is set together with EV_READ
and EV_WRITE, in actual use cases the normal read/write will then fail.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      [EMAIL PROTECTED]
      -=====/_/_//_/\_,_/ /_/\_\

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

Reply via email to