--- EV/EV.xs 2007/11/22 12:28:27 1.72 +++ EV/EV.xs 2007/11/23 05:00:44 1.73 @@ -326,12 +326,12 @@ const_iv (EV, UNLOOP_ONE) const_iv (EV, UNLOOP_ALL) - const_iv (EV, METHOD_SELECT) - const_iv (EV, METHOD_POLL) - const_iv (EV, METHOD_EPOLL) - const_iv (EV, METHOD_KQUEUE) - const_iv (EV, METHOD_DEVPOLL) - const_iv (EV, METHOD_PORT) + const_iv (EV, BACKEND_SELECT) + const_iv (EV, BACKEND_POLL) + const_iv (EV, BACKEND_EPOLL) + const_iv (EV, BACKEND_KQUEUE) + const_iv (EV, BACKEND_DEVPOLL) + const_iv (EV, BACKEND_PORT) const_iv (EV, FLAG_AUTO) const_iv (EV, FLAG_NOENV) }; @@ -359,7 +359,7 @@ evapi.sv_fileno = sv_fileno; evapi.sv_signum = sv_signum; evapi.now = ev_now; - evapi.method = ev_method; + evapi.backend = ev_backend; evapi.unloop = ev_unloop; evapi.time = ev_time; evapi.loop = ev_loop; @@ -396,7 +396,7 @@ NV ev_time () -int ev_default_loop (int methods = EVMETHOD_ALL) +int ev_default_loop (int methods = ev_supported_methods ()) void ev_loop (int flags = 0)