--- libev/ev++.h 2010/10/24 17:58:41 1.55 +++ libev/ev++.h 2011/11/29 15:10:05 1.58 @@ -6,14 +6,14 @@ * * Redistribution and use in source and binary forms, with or without modifica- * tion, are permitted provided that the following conditions are met: - * + * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. - * + * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * + * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MER- * CHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO @@ -58,8 +58,7 @@ typedef ev_tstamp tstamp; - enum - { + enum { UNDEF = EV_UNDEF, NONE = EV_NONE, READ = EV_READ, @@ -518,9 +517,9 @@ } }; - inline tstamp now () throw () + inline tstamp now (EV_P) throw () { - return ev_time (); + return ev_now (EV_A); } inline void delay (tstamp interval) throw ()