summaryrefslogtreecommitdiff
path: root/proto.h
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 /proto.h
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 'proto.h')
-rw-r--r--proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 3a58718437..37a7bdc8a7 100644
--- a/proto.h
+++ b/proto.h
@@ -365,6 +365,7 @@ PERL_CALLCONV bool Perl_is_uni_xdigit_lc(pTHX_ U32 c);
PERL_CALLCONV U32 Perl_to_uni_upper_lc(pTHX_ U32 c);
PERL_CALLCONV U32 Perl_to_uni_title_lc(pTHX_ U32 c);
PERL_CALLCONV U32 Perl_to_uni_lower_lc(pTHX_ U32 c);
+PERL_CALLCONV int Perl_is_utf8_char(pTHX_ U8 *p);
PERL_CALLCONV bool Perl_is_utf8_alnum(pTHX_ U8 *p);
PERL_CALLCONV bool Perl_is_utf8_alnumc(pTHX_ U8 *p);
PERL_CALLCONV bool Perl_is_utf8_idfirst(pTHX_ U8 *p);