From 11ca45c0440b891278a1e7129025dd5644026556 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Fri, 20 May 2005 21:11:52 +0000 Subject: Goodbye AvFLAGS p4raw-id: //depot/perl@24518 --- av.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'av.c') 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; -- cgit v1.2.1