X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=utf8.h;h=698c687c1cfc22eafc1ce599184b1fe13156c291;hb=e688b2318033d7cc179bac591999729a37bf7138;hp=51d0143b631431d58b6c10c5cdce98c4d3becc2d;hpb=6f06b55ffd47b279dd1684acb9b556a45e4754a3;p=p5sagit%2Fp5-mst-13.2.git diff --git a/utf8.h b/utf8.h index 51d0143..698c687 100644 --- a/utf8.h +++ b/utf8.h @@ -1,12 +1,14 @@ /* utf8.h * - * Copyright (c) 1998, Larry Wall + * Copyright (c) 1998-1999, Larry Wall * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. * */ +START_EXTERN_C + #ifdef DOINIT EXTCONST unsigned char PL_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 */ @@ -22,6 +24,8 @@ EXTCONST unsigned char PL_utf8skip[] = { EXTCONST unsigned char PL_utf8skip[]; #endif +END_EXTERN_C + #define IN_UTF8 (PL_curcop->op_private & HINT_UTF8) #define UTF8SKIP(s) PL_utf8skip[*(U8*)s]