summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-13 09:57:59 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-13 09:57:59 +0000
commit386d01d60781c452398a2c213e241a4169059c2c (patch)
tree97a1879303db24b6554877def609633c96dbbcb7 /pod
parent959e367355e7dca571e3848d9993f40c66a84fd5 (diff)
downloadperl-386d01d60781c452398a2c213e241a4169059c2c.tar.gz
make the is_utf8_*() safe for use on invalid utf8 (they now
return false on such input instead of emitting warnings) p4raw-id: //depot/perl@5700
Diffstat (limited to 'pod')
-rw-r--r--pod/perlapi.pod12
1 files changed, 6 insertions, 6 deletions
diff --git a/pod/perlapi.pod b/pod/perlapi.pod
index e4dedbe21b..c13dcde6ff 100644
--- a/pod/perlapi.pod
+++ b/pod/perlapi.pod
@@ -381,17 +381,17 @@ C<call_sv> apply equally to these functions.
=item gv_stashpv
-Returns a pointer to the stash for a specified package. If C<create> is
-set then the package will be created if it does not already exist. If
-C<create> is not set and the package does not exist then NULL is
-returned.
+Returns a pointer to the stash for a specified package. C<name> should
+be a valid UTF-8 string. If C<create> is set then the package will be
+created if it does not already exist. If C<create> is not set and the
+package does not exist then NULL is returned.
HV* gv_stashpv(const char* name, I32 create)
=item gv_stashsv
-Returns a pointer to the stash for a specified package. See
-C<gv_stashpv>.
+Returns a pointer to the stash for a specified package, which must be a
+valid UTF-8 string. See C<gv_stashpv>.
HV* gv_stashsv(SV* sv, I32 create)