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

Comparing EV/EV.xs (file contents):
Revision 1.78 by root, Sat Nov 24 08:28:10 2007 UTC vs.
Revision 1.79 by root, Sat Nov 24 16:57:30 2007 UTC

609 609
610SV *data (ev_watcher *w, SV *new_data = 0) 610SV *data (ev_watcher *w, SV *new_data = 0)
611 CODE: 611 CODE:
612{ 612{
613 RETVAL = w->data ? newSVsv (w->data) : &PL_sv_undef; 613 RETVAL = w->data ? newSVsv (w->data) : &PL_sv_undef;
614
615 if (items > 1)
616 {
617 SvREFCNT_dec (w->data);
618 w->data = newSVsv (new_data);
619 }
614} 620}
615 OUTPUT: 621 OUTPUT:
616 RETVAL 622 RETVAL
617 623
618void trigger (ev_watcher *w, int revents = EV_NONE) 624void trigger (ev_watcher *w, int revents = EV_NONE)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines