diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-11-18 17:30:03 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-11-19 09:51:02 +0000 |
commit | c490b21c04c1b227f71571c6c3091caea429d9c6 (patch) | |
tree | 476a1474d2e23ef3141954cdfa5e877ab03b58f1 /sv.h | |
parent | 3cf51070223b095664012011bc367370eda3074c (diff) | |
download | perl-c490b21c04c1b227f71571c6c3091caea429d9c6.tar.gz |
Abolish xio_lines from struct PVIO - store IoLINES() in the IVX slot.
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -529,7 +529,7 @@ struct xpvfm { DIR * xiou_dirp; /* for opendir, readdir, etc */ \ void * xiou_any; /* for alignment */ \ } xio_dirpu; \ - IV xio_lines; /* $. */ \ + /* IV xio_lines is now in IVX $. */ \ IV xio_page; /* $% */ \ IV xio_page_len; /* $= */ \ IV xio_lines_left; /* $- */ \ @@ -1317,7 +1317,7 @@ the scalar's value cannot change unless written to. #define IoOFP(sv) ((XPVIO*) SvANY(sv))->xio_ofp #define IoDIRP(sv) ((XPVIO*) SvANY(sv))->xio_dirp #define IoANY(sv) ((XPVIO*) SvANY(sv))->xio_any -#define IoLINES(sv) ((XPVIO*) SvANY(sv))->xio_lines +#define IoLINES(sv) ((XPVIO*) SvANY(sv))->xiv_u.xivu_iv #define IoPAGE(sv) ((XPVIO*) SvANY(sv))->xio_page #define IoPAGE_LEN(sv) ((XPVIO*) SvANY(sv))->xio_page_len #define IoLINES_LEFT(sv)((XPVIO*) SvANY(sv))->xio_lines_left |