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.19 by root, Sun Jul 31 19:04:45 2005 UTC vs.
Revision 1.21 by root, Sun Aug 7 03:26:10 2005 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines