diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-26 05:07:05 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-07-26 05:07:05 +0000 |
commit | a176fa2a176313dc1a9b9594d080f47292ff4070 (patch) | |
tree | 84b70d108cda787375cc8e20221d4f319b96e18d /utf8.h | |
parent | 2d47f9631e4507635394284706f31b5286b80fcb (diff) | |
download | perl-a176fa2a176313dc1a9b9594d080f47292ff4070.tar.gz |
add new files to MANIFEST; add missing prototypes to proto.h;
s/PL_utf8skip/utf8skip/ for now, or we end up with Perl_PL_;
add typecasts to silence warnings; tweaks for win32 builds
p4raw-id: //depot/perl@1663
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -8,7 +8,7 @@ */ #ifdef DOINIT -EXTCONST unsigned char PL_utf8skip[] = { +EXTCONST unsigned char utf8skip[] = { 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, /* ascii */ 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, /* ascii */ 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, /* ascii */ @@ -19,9 +19,9 @@ EXTCONST unsigned char PL_utf8skip[] = { 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,6,6,7,8, /* cjk etc. */ }; #else -EXTCONST unsigned char PL_utf8skip[]; +EXTCONST unsigned char utf8skip[]; #endif #define IN_UTF8 (curcop->op_private & HINT_UTF8) -#define UTF8SKIP(s) PL_utf8skip[*(U8*)s] +#define UTF8SKIP(s) utf8skip[*(U8*)s] |