diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-13 09:57:59 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-13 09:57:59 +0000 |
commit | 386d01d60781c452398a2c213e241a4169059c2c (patch) | |
tree | 97a1879303db24b6554877def609633c96dbbcb7 /gv.c | |
parent | 959e367355e7dca571e3848d9993f40c66a84fd5 (diff) | |
download | perl-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 'gv.c')
-rw-r--r-- | gv.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -448,10 +448,10 @@ Perl_gv_autoload4(pTHX_ HV *stash, const char *name, STRLEN len, I32 method) /* =for apidoc 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. =cut */ @@ -494,8 +494,8 @@ Perl_gv_stashpvn(pTHX_ const char *name, U32 namelen, I32 create) /* =for apidoc 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>. =cut */ |