summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-11-18 17:30:03 +0000
committerNicholas Clark <nick@ccl4.org>2009-11-19 09:51:02 +0000
commitc490b21c04c1b227f71571c6c3091caea429d9c6 (patch)
tree476a1474d2e23ef3141954cdfa5e877ab03b58f1 /sv.h
parent3cf51070223b095664012011bc367370eda3074c (diff)
downloadperl-c490b21c04c1b227f71571c6c3091caea429d9c6.tar.gz
Abolish xio_lines from struct PVIO - store IoLINES() in the IVX slot.
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sv.h b/sv.h
index a5c568c301..b452b36438 100644
--- a/sv.h
+++ b/sv.h
@@ -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