ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/EV/EV.xs
(Generate patch)

Comparing EV/EV.xs (file contents):
Revision 1.75 by root, Fri Nov 23 12:22:26 2007 UTC vs.
Revision 1.77 by root, Fri Nov 23 16:37:37 2007 UTC

418 evapi.prepare_stop = ev_prepare_stop; 418 evapi.prepare_stop = ev_prepare_stop;
419 evapi.check_start = ev_check_start; 419 evapi.check_start = ev_check_start;
420 evapi.check_stop = ev_check_stop; 420 evapi.check_stop = ev_check_stop;
421 evapi.child_start = ev_child_start; 421 evapi.child_start = ev_child_start;
422 evapi.child_stop = ev_child_stop; 422 evapi.child_stop = ev_child_stop;
423 evapi.ref = ev_ref;
424 evapi.unref = ev_unref;
423 425
424 sv_setiv (sv, (IV)&evapi); 426 sv_setiv (sv, (IV)&evapi);
425 SvREADONLY_on (sv); 427 SvREADONLY_on (sv);
426 } 428 }
427#ifndef _WIN32 429#ifndef _WIN32
534 ev_child_set (RETVAL, pid); 536 ev_child_set (RETVAL, pid);
535 if (!ix) ev_child_start (RETVAL); 537 if (!ix) ev_child_start (RETVAL);
536 OUTPUT: 538 OUTPUT:
537 RETVAL 539 RETVAL
538 540
539void once (SV *fh, int events, NV timeout, SV *cb) 541void once (SV *fh, int events, SV *timeout, SV *cb)
540 CODE: 542 CODE:
541 ev_once (sv_fileno (fh), events, timeout, e_once_cb, newSVsv (cb)); 543 ev_once (
544 sv_fileno (fh), events,
545 SvOK (timeout) ? SvNV (timeout) : -1.,
546 e_once_cb,
547 newSVsv (cb)
548 );
542 549
543PROTOTYPES: DISABLE 550PROTOTYPES: DISABLE
544 551
545MODULE = EV PACKAGE = EV::Watcher PREFIX = ev_ 552MODULE = EV PACKAGE = EV::Watcher PREFIX = ev_
546 553

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines