summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2004-02-06 12:44:05 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2004-02-08 11:48:09 +0000
commit12fa07dffe20be11e9d779f98ee2eac72af90827 (patch)
treee814161b723e8ae2f3881e312d5a0f1a5028f0c0
parentcac3fadd5244efab88a7d39b605730c92b4ac22c (diff)
downloadperl-12fa07dffe20be11e9d779f98ee2eac72af90827.tar.gz
Correct some prototypes in perlapi.pod
Message-ID: <40238C15.2090200@uk.radan.com> p4raw-id: //depot/perl@22286
-rw-r--r--pod/perlapi.pod6
-rw-r--r--sv.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/pod/perlapi.pod b/pod/perlapi.pod
index d8f7efa468..91880e498f 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 332a7f4b58..c694daba82 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<SvCUR>.
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