diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-11-18 13:23:33 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-11-18 13:23:33 +0000 |
commit | 543c00c93a3f7ccd573dc2e23ffd06654cf38058 (patch) | |
tree | da52a681c4a1c021985ce7fecb0b141e2a23a4cf /pod/perlapi.pod | |
parent | 60e4ec2e6ee5ed6e4095807a4e0ada718c12b221 (diff) | |
download | perl-543c00c93a3f7ccd573dc2e23ffd06654cf38058.tar.gz |
embed.pl generated changes I forgot to include
p4raw-id: //depot/perlio@13068
Diffstat (limited to 'pod/perlapi.pod')
-rw-r--r-- | pod/perlapi.pod | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/pod/perlapi.pod b/pod/perlapi.pod index 79fbc932a2..fcf446eadb 100644 --- a/pod/perlapi.pod +++ b/pod/perlapi.pod @@ -1404,6 +1404,17 @@ SV is B<not> incremented. =for hackers Found in file sv.c +=item newSV + +Create a new null SV, or if len > 0, create a new empty SVt_PV type SV +with an initial PV allocation of len+1. Normally accessed via the C<NEWSV> +macro. + + SV* newSV(STRLEN len) + +=for hackers +Found in file sv.c + =item NEWSV Creates a new SV. A non-zero C<len> parameter indicates the number of @@ -1417,17 +1428,6 @@ C<id> is an integer id between 0 and 1299 (used to identify leaks). =for hackers Found in file handy.h -=item newSV - -Create a new null SV, or if len > 0, create a new empty SVt_PV type SV -with an initial PV allocation of len+1. Normally accessed via the C<NEWSV> -macro. - - SV* newSV(STRLEN len) - -=for hackers -Found in file sv.c - =item newSViv Creates a new SV and copies an integer into it. The reference count for the @@ -2967,22 +2967,22 @@ for a version which guarantees to evaluate sv only once. =for hackers Found in file sv.h -=item SvUVx +=item SvUVX -Coerces the given SV to an unsigned integer and returns it. Guarantees to -evaluate sv only once. Use the more efficient C<SvUV> otherwise. +Returns the raw value in the SV's UV slot, without checks or conversions. +Only use when you are sure SvIOK is true. See also C<SvUV()>. - UV SvUVx(SV* sv) + UV SvUVX(SV* sv) =for hackers Found in file sv.h -=item SvUVX +=item SvUVx -Returns the raw value in the SV's UV slot, without checks or conversions. -Only use when you are sure SvIOK is true. See also C<SvUV()>. +Coerces the given SV to an unsigned integer and returns it. Guarantees to +evaluate sv only once. Use the more efficient C<SvUV> otherwise. - UV SvUVX(SV* sv) + UV SvUVx(SV* sv) =for hackers Found in file sv.h |