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

Comparing IO-AIO/AIO.xs (file contents):
Revision 1.17 by root, Sun Jul 31 18:45:48 2005 UTC vs.
Revision 1.21 by root, Sun Aug 7 03:26:10 2005 UTC

1#define _REENTRANT 1
2#include <errno.h>
3
1#include "EXTERN.h" 4#include "EXTERN.h"
2#include "perl.h" 5#include "perl.h"
3#include "XSUB.h" 6#include "XSUB.h"
4 7
5#include "autoconf/config.h" 8#include "autoconf/config.h"
505 PROTOTYPE: $$$$$;$ 508 PROTOTYPE: $$$$$;$
506 CODE: 509 CODE:
507{ 510{
508 aio_req req; 511 aio_req req;
509 STRLEN svlen; 512 STRLEN svlen;
510 char *svptr = SvPV (data, svlen); 513 char *svptr = SvPVbyte (data, svlen);
511 514
512 SvUPGRADE (data, SVt_PV); 515 SvUPGRADE (data, SVt_PV);
513 SvPOK_on (data); 516 SvPOK_on (data);
514 517
515 if (dataoffset < 0) 518 if (dataoffset < 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines