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

Comparing EV/EV.xs (file contents):
Revision 1.147 by root, Thu Oct 28 04:59:35 2010 UTC vs.
Revision 1.149 by root, Sun Nov 28 06:34:10 2010 UTC

341 croak ("illegal file descriptor or filehandle (either no attached file descriptor or illegal value): %s", SvPV_nolen (fh)); 341 croak ("illegal file descriptor or filehandle (either no attached file descriptor or illegal value): %s", SvPV_nolen (fh));
342 342
343#define CHECK_SIG(sv,num) if ((num) < 0) \ 343#define CHECK_SIG(sv,num) if ((num) < 0) \
344 croak ("illegal signal number or name: %s", SvPV_nolen (sv)); 344 croak ("illegal signal number or name: %s", SvPV_nolen (sv));
345 345
346static void
346EV_INLINE default_fork (void) 347default_fork (void)
347{ 348{
348 ev_loop_fork (EV_DEFAULT_UC); 349 ev_loop_fork (EV_DEFAULT_UC);
349} 350}
350 351
351///////////////////////////////////////////////////////////////////////////// 352/////////////////////////////////////////////////////////////////////////////
1324 CODE: 1325 CODE:
1325 RETVAL = boolSV (ev_async_pending (w)); 1326 RETVAL = boolSV (ev_async_pending (w));
1326 OUTPUT: 1327 OUTPUT:
1327 RETVAL 1328 RETVAL
1328 1329
1330#ifndef EV_NO_LOOP
1331
1329MODULE = EV PACKAGE = EV::Loop PREFIX = ev_ 1332MODULE = EV PACKAGE = EV::Loop PREFIX = ev_
1330 1333
1331SV *new (SV *klass, unsigned int flags = 0) 1334SV *new (SV *klass, unsigned int flags = 0)
1332 CODE: 1335 CODE:
1333{ 1336{
1572 SvOK (timeout) ? SvNV (timeout) : -1., 1575 SvOK (timeout) ? SvNV (timeout) : -1.,
1573 e_once_cb, 1576 e_once_cb,
1574 newSVsv (cb) 1577 newSVsv (cb)
1575 ); 1578 );
1576 1579
1580#endif
1581

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines