diff options
author | Nicholas Clark <nick@ccl4.org> | 2005-05-20 21:11:52 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2005-05-20 21:11:52 +0000 |
commit | 11ca45c0440b891278a1e7129025dd5644026556 (patch) | |
tree | 9091ca5bf20af6659e0e73384a258d5ac3ddbb3d /av.c | |
parent | 7596a890808c68b396a85f42b3695b1e97cbe208 (diff) | |
download | perl-11ca45c0440b891278a1e7129025dd5644026556.tar.gz |
Goodbye AvFLAGS
p4raw-id: //depot/perl@24518
Diffstat (limited to 'av.c')
-rw-r--r-- | av.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |