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 /objXSUB.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 'objXSUB.h')
-rw-r--r-- | objXSUB.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -687,6 +687,10 @@ #define Perl_to_uni_lower_lc pPerl->Perl_to_uni_lower_lc #undef to_uni_lower_lc #define to_uni_lower_lc Perl_to_uni_lower_lc +#undef Perl_is_utf8_char +#define Perl_is_utf8_char pPerl->Perl_is_utf8_char +#undef is_utf8_char +#define is_utf8_char Perl_is_utf8_char #undef Perl_is_utf8_alnum #define Perl_is_utf8_alnum pPerl->Perl_is_utf8_alnum #undef is_utf8_alnum |