From: Steve Hay Date: Fri, 6 Feb 2004 12:44:05 +0000 (+0000) Subject: Correct some prototypes in perlapi.pod X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=12fa07dffe20be11e9d779f98ee2eac72af90827;p=p5sagit%2Fp5-mst-13.2.git Correct some prototypes in perlapi.pod Message-ID: <40238C15.2090200@uk.radan.com> p4raw-id: //depot/perl@22286 --- diff --git a/pod/perlapi.pod b/pod/perlapi.pod index d8f7efa..91880e4 100644 --- a/pod/perlapi.pod +++ b/pod/perlapi.pod @@ -2824,7 +2824,7 @@ Found in file sv.h Returns a boolean indicating whether the SV contains a signed integer. - void SvIOK_notUV(SV* sv) + bool SvIOK_notUV(SV* sv) =for hackers Found in file sv.h @@ -2869,7 +2869,7 @@ Found in file sv.h Returns a boolean indicating whether the SV contains an unsigned integer. - void SvIOK_UV(SV* sv) + bool SvIOK_UV(SV* sv) =for hackers Found in file sv.h @@ -3466,7 +3466,7 @@ Found in file sv.h Returns a boolean indicating whether the SV contains UTF-8 encoded data. - void SvUTF8(SV* sv) + bool SvUTF8(SV* sv) =for hackers Found in file sv.h diff --git a/sv.h b/sv.h index 332a7f4..c694dab 100644 --- a/sv.h +++ b/sv.h @@ -432,13 +432,13 @@ Tells an SV that it is an integer and disables all other OK bits. =for apidoc Am|void|SvIOK_only_UV|SV* sv Tells and SV that it is an unsigned integer and disables all other OK bits. -=for apidoc Am|void|SvIOK_UV|SV* sv +=for apidoc Am|bool|SvIOK_UV|SV* sv Returns a boolean indicating whether the SV contains an unsigned integer. =for apidoc Am|void|SvUOK|SV* sv Returns a boolean indicating whether the SV contains an unsigned integer. -=for apidoc Am|void|SvIOK_notUV|SV* sv +=for apidoc Am|bool|SvIOK_notUV|SV* sv Returns a boolean indicating whether the SV contains a signed integer. =for apidoc Am|bool|SvNOK|SV* sv @@ -581,7 +581,7 @@ Set the length of the string which is in the SV. See C. SvFLAGS(sv) |= (SVf_NOK|SVp_NOK)) /* -=for apidoc Am|void|SvUTF8|SV* sv +=for apidoc Am|bool|SvUTF8|SV* sv Returns a boolean indicating whether the SV contains UTF-8 encoded data. =for apidoc Am|void|SvUTF8_on|SV *sv