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

Comparing EV/EV.xs (file contents):
Revision 1.93 by root, Thu Dec 20 09:26:40 2007 UTC vs.
Revision 1.94 by root, Thu Dec 20 09:32:19 2007 UTC

1121void DESTROY (struct ev_loop *loop) 1121void DESTROY (struct ev_loop *loop)
1122 CODE: 1122 CODE:
1123 if (loop != evapi.default_loop) /* global destruction sucks */ 1123 if (loop != evapi.default_loop) /* global destruction sucks */
1124 ev_loop_destroy (loop); 1124 ev_loop_destroy (loop);
1125 1125
1126ev_io *io (struct ev_loop *loop, SV *fh, int events, SV *cb)
1127 ALIAS:
1128 io_ns = 1
1129 CODE:
1130{
1131 int fd = sv_fileno (fh);
1132 CHECK_FD (fh, fd);
1133
1134 RETVAL = e_new (sizeof (ev_io), cb, ST (0));
1135 RETVAL->fh = newSVsv (fh);
1136 ev_io_set (RETVAL, fd, events);
1137 if (!ix) START (io, RETVAL);
1138}
1139 OUTPUT:
1140 RETVAL
1141

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines