diff options
Diffstat (limited to 'pod/perlapi.pod')
-rw-r--r-- | pod/perlapi.pod | 43 |
1 files changed, 19 insertions, 24 deletions
diff --git a/pod/perlapi.pod b/pod/perlapi.pod index 0a119452bf..ad0d6d850c 100644 --- a/pod/perlapi.pod +++ b/pod/perlapi.pod @@ -2584,22 +2584,22 @@ version which guarantees to evaluate sv only once. =for hackers Found in file sv.h -=item SvIVX +=item SvIVx -Returns the raw value in the SV's IV slot, without checks or conversions. -Only use when you are sure SvIOK is true. See also C<SvIV()>. +Coerces the given SV to an integer and returns it. Guarantees to evaluate +sv only once. Use the more efficient C<SvIV> otherwise. - IV SvIVX(SV* sv) + IV SvIVx(SV* sv) =for hackers Found in file sv.h -=item SvIVx +=item SvIVX -Coerces the given SV to an integer and returns it. Guarantees to evaluate -sv only once. Use the more efficient C<SvIV> otherwise. +Returns the raw value in the SV's IV slot, without checks or conversions. +Only use when you are sure SvIOK is true. See also C<SvIV()>. - IV SvIVx(SV* sv) + IV SvIVX(SV* sv) =for hackers Found in file sv.h @@ -2699,22 +2699,22 @@ which guarantees to evaluate sv only once. =for hackers Found in file sv.h -=item SvNVx +=item SvNVX -Coerces the given SV to a double and returns it. Guarantees to evaluate -sv only once. Use the more efficient C<SvNV> otherwise. +Returns the raw value in the SV's NV slot, without checks or conversions. +Only use when you are sure SvNOK is true. See also C<SvNV()>. - NV SvNVx(SV* sv) + NV SvNVX(SV* sv) =for hackers Found in file sv.h -=item SvNVX +=item SvNVx -Returns the raw value in the SV's NV slot, without checks or conversions. -Only use when you are sure SvNOK is true. See also C<SvNV()>. +Coerces the given SV to a double and returns it. Guarantees to evaluate +sv only once. Use the more efficient C<SvNV> otherwise. - NV SvNVX(SV* sv) + NV SvNVx(SV* sv) =for hackers Found in file sv.h @@ -3832,8 +3832,7 @@ Found in file sv.c =item sv_pv -A private implementation of the C<SvPV_nolen> macro for compilers which can't -cope with complex macro expressions. Always use the macro instead. +Use the C<SvPV_nolen> macro instead char* sv_pv(SV *sv) @@ -3842,9 +3841,7 @@ Found in file sv.c =item sv_pvbyte -A private implementation of the C<SvPVbyte_nolen> macro for compilers -which can't cope with complex macro expressions. Always use the macro -instead. +Use C<SvPVbyte_nolen> instead. char* sv_pvbyte(SV *sv) @@ -3910,9 +3907,7 @@ Found in file sv.c =item sv_pvutf8 -A private implementation of the C<SvPVutf8_nolen> macro for compilers -which can't cope with complex macro expressions. Always use the macro -instead. +Use the C<SvPVutf8_nolen> macro instead char* sv_pvutf8(SV *sv) |