summaryrefslogtreecommitdiff
path: root/av.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-05-20 21:11:52 +0000
committerNicholas Clark <nick@ccl4.org>2005-05-20 21:11:52 +0000
commit11ca45c0440b891278a1e7129025dd5644026556 (patch)
tree9091ca5bf20af6659e0e73384a258d5ac3ddbb3d /av.c
parent7596a890808c68b396a85f42b3695b1e97cbe208 (diff)
downloadperl-11ca45c0440b891278a1e7129025dd5644026556.tar.gz
Goodbye AvFLAGS
p4raw-id: //depot/perl@24518
Diffstat (limited to 'av.c')
-rw-r--r--av.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/av.c b/av.c
index e7e4e5e047..12b2ee3e41 100644
--- a/av.c
+++ b/av.c
@@ -382,7 +382,7 @@ Perl_av_make(pTHX_ register I32 size, register SV **strp)
av = (AV*)NEWSV(8,0);
sv_upgrade((SV *) av,SVt_PVAV);
- AvFLAGS(av) = AVf_REAL;
+ AvREAL_only(av);
if (size) { /* `defined' was returning undef for size==0 anyway. */
register SV** ary;
register I32 i;
@@ -412,7 +412,7 @@ Perl_av_fake(pTHX_ register I32 size, register SV **strp)
New(4,ary,size+1,SV*);
AvALLOC(av) = ary;
Copy(strp,ary,size,SV*);
- AvFLAGS(av) = AVf_REIFY;
+ AvREIFY_only(av);
SvPV_set(av, (char*)ary);
AvFILLp(av) = size - 1;
AvMAX(av) = size - 1;