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 /proto.h | |
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 'proto.h')
-rw-r--r-- | proto.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |