From: Gisle Aas Date: Thu, 1 May 1997 10:42:46 +0000 (+0200) Subject: Fix description of av_undef() in perlguts X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0146554f605695de389f3b8c36a7b3b994325cb4;p=p5sagit%2Fp5-mst-13.2.git Fix description of av_undef() in perlguts private-msgid: 199705011042.MAA09897@bergen.sn.no --- diff --git a/pod/perlguts.pod b/pod/perlguts.pod index de71460..2eb5229 100644 --- a/pod/perlguts.pod +++ b/pod/perlguts.pod @@ -1173,7 +1173,8 @@ See C. =item av_clear -Clears an array, making it empty. +Clears an array, making it empty. Does not free the memory used by the +array itself. void av_clear _((AV* ar)); @@ -1236,14 +1237,15 @@ dereferenced to get the original C. =item av_undef -Undefines the array. +Undefines the array. Frees the memory used by the array itself. void av_undef _((AV* ar)); =item av_unshift -Unshift an SV onto the beginning of the array. The array will grow -automatically to accommodate the addition. +Unshift the given number of C values onto the beginning of the +array. The array will grow automatically to accommodate the addition. +You must then use C to assign values to these new elements. void av_unshift _((AV* ar, I32 num)); @@ -1257,7 +1259,7 @@ L. The XSUB-writer's interface to the C C function. The C is the source, C is the destination, C is the number of items, and C is -the type. +the type. May fail on overlapping copies. See also C. (void) Copy( s, d, n, t ); @@ -1788,7 +1790,7 @@ Do magic after a value is assigned to the SV. See C. The XSUB-writer's interface to the C C function. The C is the source, C is the destination, C is the number of items, and C is -the type. +the type. Can do overlapping moves. See also C. (void) Move( s, d, n, t ); @@ -2955,4 +2957,4 @@ API Listing by Dean Roehrich >. =head1 DATE -Version 31.6: 1997/4/14 +Version 31.7: 1997/5/1