develooper Front page | perl.perl5.porters | Postings from March 2001

Re: [PATCH] av.h cosmetics

Thread Previous | Thread Next
From:
Jarkko Hietaniemi
Date:
March 30, 2001 10:21
Subject:
Re: [PATCH] av.h cosmetics
Message ID:
20010330122057.J20732@chaos.wustl.edu
On Fri, Mar 30, 2001 at 06:12:28PM +0100, Simon Cozens wrote:
> Someone evidently copied this over from sv.h without changing the
> comment:
> 
> --- av.h~	Fri Mar 30 18:07:03 2001
> +++ av.h	Fri Mar 30 18:07:54 2001
> @@ -16,7 +16,7 @@
>      MAGIC*	xmg_magic;	/* magic for scalar array */
>      HV*		xmg_stash;	/* class package */
>  
> -    SV**	xav_alloc;	/* pointer to malloced string */
> +    SV**	xav_alloc;	/* pointer to beginning of C array of SVs */
>      SV*		xav_arylen;
>      U8		xav_flags;
>  };
> 
> Should the AvALLOC vs. AvARRAY offset hack be documented?

Yes.

> And should the "unreality" comments in av.h be moved to perlguts.pod?

You mean Sarathy's "subject to change" comment?  Maybe perlapi.pod,
preferably.  I think perlguts is becoming rather unwieldy.  (A major
rewrite could be in order, hint hint.)

> -- 
> You are in a maze of little twisting passages, all different.

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About