From: M. J. T. Guy Date: Tue, 26 Jan 1999 22:25:07 +0000 (+0000) Subject: Re: [PATCH] perl5.005_03-MAINT_TRIAL_3: clarify Sv[INU]V versus Sv[INU]VX in perlguts X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5c68b2270fe472528f2ba515730ec96ad933c2c1;p=p5sagit%2Fp5-mst-13.2.git Re: [PATCH] perl5.005_03-MAINT_TRIAL_3: clarify Sv[INU]V versus Sv[INU]VX in perlguts To: perl5-porters@perl.org Message-Id: p4raw-id: //depot/cfgperl@2773 --- diff --git a/pod/perlguts.pod b/pod/perlguts.pod index 08da597..15ca4b7 100644 --- a/pod/perlguts.pod +++ b/pod/perlguts.pod @@ -2862,13 +2862,13 @@ will return false. =item SvIV -Returns the integer which is in the SV. +Coerces the given SV to an integer and returns it. int SvIV (SV* sv) =item SvIVX -Returns the integer which is stored in the SV. +Returns the integer which is stored in the SV, assuming SvIOK is true. int SvIVX (SV* sv) @@ -2960,13 +2960,13 @@ B setting. Use C. =item SvNV -Returns the double which is stored in the SV. +Coerce the given SV to a double and return it. double SvNV (SV* sv) =item SvNVX -Returns the double which is stored in the SV. +Returns the double which is stored in the SV, assuming SvNOK is true. double SvNVX (SV* sv) @@ -3397,13 +3397,13 @@ appending it. =item SvUV -Returns the unsigned integer which is in the SV. +Coerces the given SV to an unsigned integer and returns it. UV SvUV(SV* sv) =item SvUVX -Returns the unsigned integer which is stored in the SV. +Returns the unsigned integer which is stored in the SV, assuming SvIOK is true. UV SvUVX(SV* sv)