X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=proto.h;h=402876ac054b4826b4fe847e2c72e378d1b39d19;hb=b8c5462f6edbb2dd616e1733df011beee816eee1;hp=7fa642405bd4b68ea431a730a1f9686bf0415348;hpb=f722798beaa437498e1f879b01996be44f2fdc1a;p=p5sagit%2Fp5-mst-13.2.git diff --git a/proto.h b/proto.h index 7fa6424..402876a 100644 --- a/proto.h +++ b/proto.h @@ -196,35 +196,53 @@ VIRTUAL char* Perl_instr(pTHX_ const char* big, const char* little); VIRTUAL bool Perl_io_close(pTHX_ IO* io); VIRTUAL OP* Perl_invert(pTHX_ OP* cmd); VIRTUAL bool Perl_is_uni_alnum(pTHX_ U32 c); +VIRTUAL bool Perl_is_uni_alnumc(pTHX_ U32 c); VIRTUAL bool Perl_is_uni_idfirst(pTHX_ U32 c); VIRTUAL bool Perl_is_uni_alpha(pTHX_ U32 c); +VIRTUAL bool Perl_is_uni_ascii(pTHX_ U32 c); VIRTUAL bool Perl_is_uni_space(pTHX_ U32 c); +VIRTUAL bool Perl_is_uni_cntrl(pTHX_ U32 c); +VIRTUAL bool Perl_is_uni_graph(pTHX_ U32 c); VIRTUAL bool Perl_is_uni_digit(pTHX_ U32 c); VIRTUAL bool Perl_is_uni_upper(pTHX_ U32 c); VIRTUAL bool Perl_is_uni_lower(pTHX_ U32 c); VIRTUAL bool Perl_is_uni_print(pTHX_ U32 c); +VIRTUAL bool Perl_is_uni_punct(pTHX_ U32 c); +VIRTUAL bool Perl_is_uni_xdigit(pTHX_ U32 c); VIRTUAL U32 Perl_to_uni_upper(pTHX_ U32 c); VIRTUAL U32 Perl_to_uni_title(pTHX_ U32 c); VIRTUAL U32 Perl_to_uni_lower(pTHX_ U32 c); VIRTUAL bool Perl_is_uni_alnum_lc(pTHX_ U32 c); +VIRTUAL bool Perl_is_uni_alnumc_lc(pTHX_ U32 c); VIRTUAL bool Perl_is_uni_idfirst_lc(pTHX_ U32 c); VIRTUAL bool Perl_is_uni_alpha_lc(pTHX_ U32 c); +VIRTUAL bool Perl_is_uni_ascii_lc(pTHX_ U32 c); VIRTUAL bool Perl_is_uni_space_lc(pTHX_ U32 c); +VIRTUAL bool Perl_is_uni_cntrl_lc(pTHX_ U32 c); +VIRTUAL bool Perl_is_uni_graph_lc(pTHX_ U32 c); VIRTUAL bool Perl_is_uni_digit_lc(pTHX_ U32 c); VIRTUAL bool Perl_is_uni_upper_lc(pTHX_ U32 c); VIRTUAL bool Perl_is_uni_lower_lc(pTHX_ U32 c); VIRTUAL bool Perl_is_uni_print_lc(pTHX_ U32 c); +VIRTUAL bool Perl_is_uni_punct_lc(pTHX_ U32 c); +VIRTUAL bool Perl_is_uni_xdigit_lc(pTHX_ U32 c); VIRTUAL U32 Perl_to_uni_upper_lc(pTHX_ U32 c); VIRTUAL U32 Perl_to_uni_title_lc(pTHX_ U32 c); VIRTUAL U32 Perl_to_uni_lower_lc(pTHX_ U32 c); VIRTUAL bool Perl_is_utf8_alnum(pTHX_ U8 *p); +VIRTUAL bool Perl_is_utf8_alnumc(pTHX_ U8 *p); VIRTUAL bool Perl_is_utf8_idfirst(pTHX_ U8 *p); VIRTUAL bool Perl_is_utf8_alpha(pTHX_ U8 *p); +VIRTUAL bool Perl_is_utf8_ascii(pTHX_ U8 *p); VIRTUAL bool Perl_is_utf8_space(pTHX_ U8 *p); +VIRTUAL bool Perl_is_utf8_cntrl(pTHX_ U8 *p); VIRTUAL bool Perl_is_utf8_digit(pTHX_ U8 *p); +VIRTUAL bool Perl_is_utf8_graph(pTHX_ U8 *p); VIRTUAL bool Perl_is_utf8_upper(pTHX_ U8 *p); VIRTUAL bool Perl_is_utf8_lower(pTHX_ U8 *p); VIRTUAL bool Perl_is_utf8_print(pTHX_ U8 *p); +VIRTUAL bool Perl_is_utf8_punct(pTHX_ U8 *p); +VIRTUAL bool Perl_is_utf8_xdigit(pTHX_ U8 *p); VIRTUAL bool Perl_is_utf8_mark(pTHX_ U8 *p); VIRTUAL OP* Perl_jmaybe(pTHX_ OP* arg); VIRTUAL I32 Perl_keyword(pTHX_ char* d, I32 len); @@ -854,7 +872,8 @@ STATIC void S_scan_commit(pTHX_ scan_data_t *data); STATIC I32 S_study_chunk(pTHX_ regnode **scanp, I32 *deltap, regnode *last, scan_data_t *data, U32 flags); STATIC I32 S_add_data(pTHX_ I32 n, char *s); STATIC void S_re_croak2(pTHX_ const char* pat1, const char* pat2, ...) __attribute__((noreturn)); -STATIC char* S_regpposixcc(pTHX_ I32 value); +STATIC I32 S_regpposixcc(pTHX_ I32 value); +STATIC void S_checkposixcc(pTHX); STATIC void S_clear_re(pTHX_ void *r); #endif #if defined(PERL_IN_REGEXEC_C) || defined(PERL_DECL_PROT)