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

Comparing EV/EV.xs (file contents):
Revision 1.27 by root, Wed Oct 31 21:36:01 2007 UTC vs.
Revision 1.28 by root, Wed Oct 31 21:50:15 2007 UTC

242 242
243 for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ-- > const_iv; ) 243 for (civ = const_iv + sizeof (const_iv) / sizeof (const_iv [0]); civ-- > const_iv; )
244 newCONSTSUB (stash, (char *)civ->name, newSViv (civ->iv)); 244 newCONSTSUB (stash, (char *)civ->name, newSViv (civ->iv));
245 245
246 stash_watcher = gv_stashpv ("EV::Watcher" , 1); 246 stash_watcher = gv_stashpv ("EV::Watcher" , 1);
247 stash_io = gv_stashpv ("EV::IO" , 1); 247 stash_io = gv_stashpv ("EV::Io" , 1);
248 stash_time = gv_stashpv ("EV::Time" , 1); 248 stash_time = gv_stashpv ("EV::Time" , 1);
249 stash_timer = gv_stashpv ("EV::Timer" , 1); 249 stash_timer = gv_stashpv ("EV::Timer" , 1);
250 stash_periodic = gv_stashpv ("EV::Periodic", 1); 250 stash_periodic = gv_stashpv ("EV::Periodic", 1);
251 stash_signal = gv_stashpv ("EV::Signal" , 1); 251 stash_signal = gv_stashpv ("EV::Signal" , 1);
252 stash_idle = gv_stashpv ("EV::Idle" , 1); 252 stash_idle = gv_stashpv ("EV::Idle" , 1);
415 sv_setsv (w->cb_sv, new_cb); 415 sv_setsv (w->cb_sv, new_cb);
416} 416}
417 OUTPUT: 417 OUTPUT:
418 RETVAL 418 RETVAL
419 419
420void trigger (struct ev_watcher *w, int revents = EV_NONE)
421 CODE:
422 w->cb (w, revents);
423
420MODULE = EV PACKAGE = EV::IO PREFIX = evio_ 424MODULE = EV PACKAGE = EV::Io PREFIX = evio_
421 425
422void evio_start (struct ev_io *w) 426void evio_start (struct ev_io *w)
423 427
424void evio_stop (struct ev_io *w) 428void evio_stop (struct ev_io *w)
425 429

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines