summaryrefslogtreecommitdiff
path: root/objXSUB.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 /objXSUB.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 'objXSUB.h')
-rw-r--r--objXSUB.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/objXSUB.h b/objXSUB.h
index 569065ca69..1906a661f7 100644
--- a/objXSUB.h
+++ b/objXSUB.h
@@ -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