diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-23 14:44:19 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-11-23 14:44:19 +0000 |
commit | 2a5a0c38d81f8514d109f773aaadbf70b29e85b9 (patch) | |
tree | e738a41ff3755178c474aff842b4b0c7adf11259 /pod | |
parent | a68a8aba34e0f4387538e8f112fee61bffa705bf (diff) | |
download | perl-2a5a0c38d81f8514d109f773aaadbf70b29e85b9.tar.gz |
regen_headers.
p4raw-id: //depot/perl@13197
Diffstat (limited to 'pod')
-rw-r--r-- | pod/perlapi.pod | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/pod/perlapi.pod b/pod/perlapi.pod index 9870898ad4..8528c90e5a 100644 --- a/pod/perlapi.pod +++ b/pod/perlapi.pod @@ -2039,6 +2039,17 @@ Recursively unlocks a shared sv. =for hackers Found in file sharedsv.c +=item sortsv + +Sort an array. Here is an example: + + sortsv(AvARRAY(av), av_len(av)+1, Perl_sv_cmp_locale); + + void sortsv(SV ** array, size_t num_elts, SVCOMPARE_t cmp) + +=for hackers +Found in file pp_sort.c + =item SP Stack pointer. This is usually handled by C<xsubpp>. See C<dSP> and @@ -2956,22 +2967,22 @@ for a version which guarantees to evaluate sv only once. =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 -=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 |