From: Florian Ragwitz Date: Sun, 15 Mar 2009 18:20:09 +0000 (+0100) Subject: Upgrade ppport.h from 3.16 to 3.17. X-Git-Tag: 0.78_01~33 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=08f3791a7a91397603bf6d1bfe09ff469ced7443;p=gitmo%2FClass-MOP.git Upgrade ppport.h from 3.16 to 3.17. Gah. 3.17 was released shortly before upgrading to 3.16 and didn't show up on search.cpan.org yet. --- diff --git a/Changes b/Changes index 73df8af..8ee1179 100644 --- a/Changes +++ b/Changes @@ -27,7 +27,7 @@ Revision history for Perl extension Class-MOP. - Clean up and simplify prehashing of hash keys (Florian Ragwitz). - Simplify creating simple xs reader methods (Florian Ragwitz). - Make everything compile with c++ compilers (Florian Ragwitz). - - Upgrade ppport.h from 3.14 to 3.16 (Florian Ragwitz). + - Upgrade ppport.h from 3.14 to 3.17 (Florian Ragwitz). * Tests - Remove optional test plans for tests depending on Sub::Name as diff --git a/ppport.h b/ppport.h index 7d67b44..3e3d52f 100644 --- a/ppport.h +++ b/ppport.h @@ -4,7 +4,7 @@ /* ---------------------------------------------------------------------- - ppport.h -- Perl/Pollution/Portability Version 3.16 + ppport.h -- Perl/Pollution/Portability Version 3.17 Automatically created by Devel::PPPort running under perl 5.010000. @@ -21,7 +21,7 @@ SKIP =head1 NAME -ppport.h - Perl/Pollution/Portability version 3.16 +ppport.h - Perl/Pollution/Portability version 3.17 =head1 SYNOPSIS @@ -377,7 +377,7 @@ use strict; # Disable broken TRIE-optimization BEGIN { eval '${^RE_TRIE_MAXBUF} = -1' if $] >= 5.009004 && $] <= 5.009005 } -my $VERSION = 3.16; +my $VERSION = 3.17; my %opt = ( quiet => 0, @@ -447,7 +447,7 @@ my %API = map { /^(\w+)\|([^|]*)\|([^|]*)\|(\w*)$/ AvFILLp|5.004050||p AvFILL||| CLASS|||n -CPERLscope|||p +CPERLscope|5.005000||p CX_CURPAD_SAVE||| CX_CURPAD_SV||| CopFILEAV|5.006000||p @@ -466,7 +466,7 @@ Copy||| CvPADLIST||| CvSTASH||| CvWEAKOUTSIDE||| -DEFSV_set|||p +DEFSV_set|5.011000||p DEFSV|5.004050||p END_EXTERN_C|5.005000||p ENTER||| @@ -481,7 +481,7 @@ GROK_NUMERIC_RADIX|5.007002||p G_ARRAY||| G_DISCARD||| G_EVAL||| -G_METHOD|||p +G_METHOD|5.006001||p G_NOARGS||| G_SCALAR||| G_VOID||5.004000| @@ -603,20 +603,20 @@ PERL_MAGIC_uvar_elem|5.007003||p PERL_MAGIC_uvar|5.007002||p PERL_MAGIC_vec|5.007002||p PERL_MAGIC_vstring|5.008001||p -PERL_PV_ESCAPE_ALL|||p -PERL_PV_ESCAPE_FIRSTCHAR|||p -PERL_PV_ESCAPE_NOBACKSLASH|||p -PERL_PV_ESCAPE_NOCLEAR|||p -PERL_PV_ESCAPE_QUOTE|||p -PERL_PV_ESCAPE_RE|||p -PERL_PV_ESCAPE_UNI_DETECT|||p -PERL_PV_ESCAPE_UNI|||p -PERL_PV_PRETTY_DUMP|||p -PERL_PV_PRETTY_ELLIPSES|||p -PERL_PV_PRETTY_LTGT|||p -PERL_PV_PRETTY_NOCLEAR|||p -PERL_PV_PRETTY_QUOTE|||p -PERL_PV_PRETTY_REGPROP|||p +PERL_PV_ESCAPE_ALL|5.009004||p +PERL_PV_ESCAPE_FIRSTCHAR|5.009004||p +PERL_PV_ESCAPE_NOBACKSLASH|5.009004||p +PERL_PV_ESCAPE_NOCLEAR|5.009004||p +PERL_PV_ESCAPE_QUOTE|5.009004||p +PERL_PV_ESCAPE_RE|5.009005||p +PERL_PV_ESCAPE_UNI_DETECT|5.009004||p +PERL_PV_ESCAPE_UNI|5.009004||p +PERL_PV_PRETTY_DUMP|5.009004||p +PERL_PV_PRETTY_ELLIPSES|5.010000||p +PERL_PV_PRETTY_LTGT|5.009004||p +PERL_PV_PRETTY_NOCLEAR|5.010000||p +PERL_PV_PRETTY_QUOTE|5.009004||p +PERL_PV_PRETTY_REGPROP|5.009004||p PERL_QUAD_MAX|5.004000||p PERL_QUAD_MIN|5.004000||p PERL_REVISION|5.006000||p @@ -649,8 +649,8 @@ PL_DBsingle|||pn PL_DBsub|||pn PL_DBtrace|||pn PL_Sv|5.005000||p -PL_bufend|||p -PL_bufptr|||p +PL_bufend|5.011000||p +PL_bufptr|5.011000||p PL_compiling|5.004050||p PL_copline|5.011000||p PL_curcop|5.004050||p @@ -666,14 +666,14 @@ PL_hexdigit|5.005000||p PL_hints|5.005000||p PL_last_in_gv|||n PL_laststatval|5.005000||p -PL_lex_state|||p -PL_lex_stuff|||p -PL_linestr|||p +PL_lex_state|5.011000||p +PL_lex_stuff|5.011000||p +PL_linestr|5.011000||p PL_modglobal||5.005000|n PL_na|5.004050||pn PL_no_modify|5.006000||p -PL_ofs_sv|||n -PL_parser|||p +PL_ofsgv|||n +PL_parser|5.009005||p PL_perl_destruct_level|5.004050||p PL_perldb|5.004050||p PL_ppaddr|5.006000||p @@ -691,7 +691,7 @@ PL_sv_undef|5.004050||pn PL_sv_yes|5.004050||pn PL_tainted|5.004050||p PL_tainting|5.004050||p -PL_tokenbuf|||p +PL_tokenbuf|5.011000||p POP_MULTICALL||5.011000| POPi|||n POPl|||n @@ -703,6 +703,7 @@ POPs|||n PTR2IV|5.006000||p PTR2NV|5.006000||p PTR2UV|5.006000||p +PTR2nat|5.009003||p PTR2ul|5.007001||p PTRV|5.006000||p PUSHMARK||| @@ -850,7 +851,7 @@ SvPV_nolen|5.006000||p SvPV_nomg_const_nolen|5.009003||p SvPV_nomg_const|5.009003||p SvPV_nomg|5.007002||p -SvPV_renew|||p +SvPV_renew|5.009003||p SvPV_set||| SvPVbyte_force||5.009002| SvPVbyte_nolen||5.006000| @@ -1032,7 +1033,6 @@ av_create_and_unshift_one||5.009005| av_delete||5.006000| av_exists||5.006000| av_extend||| -av_fake||| av_fetch||| av_fill||| av_iter_p||5.011000| @@ -1139,7 +1139,6 @@ curmad||| custom_op_desc||5.007003| custom_op_name||5.007003| cv_ckproto_len||| -cv_ckproto||| cv_clone||| cv_const_sv||5.004000| cv_dump||| @@ -1285,7 +1284,6 @@ exec_failed||| expect_number||| fbm_compile||5.005000| fbm_instr||5.005000| -fd_on_nosuid_fs||| feature_is_enabled||| fetch_cop_label||5.011000| filter_add||| @@ -1329,6 +1327,7 @@ get_db_sub||| get_debug_opts||| get_hash_seed||| get_hv|5.006000||p +get_isa_hash||| get_mstats||| get_no_modify||| get_num||| @@ -1441,6 +1440,7 @@ ibcmp_utf8||5.007003| ibcmp||| incline||| incpush_if_exists||| +incpush_use_sep||| incpush||| ingroup||| init_argv_symbols||| @@ -1462,24 +1462,23 @@ intuit_method||| intuit_more||| invert||| io_close||| -isALNUMC|||p +isALNUMC|5.006000||p isALNUM||| isALPHA||| -isASCII|||p -isBLANK|||p -isCNTRL|||p +isASCII|5.006000||p +isBLANK|5.006001||p +isCNTRL|5.006000||p isDIGIT||| -isGRAPH|||p +isGRAPH|5.006000||p isLOWER||| -isPRINT|||p -isPSXSPC|||p -isPUNCT|||p +isPRINT|5.004000||p +isPSXSPC|5.006001||p +isPUNCT|5.006000||p isSPACE||| isUPPER||| -isXDIGIT|||p +isXDIGIT|5.006000||p is_an_int||| is_gv_magical_sv||| -is_gv_magical||| is_handle_constructor|||n is_list_assignment||| is_lvalue_sub||5.007001| @@ -1617,7 +1616,6 @@ magic_setvec||| magic_set||| magic_sizepack||| magic_wipepack||| -magicname||| make_matcher||| make_trie_failtable||| make_trie||| @@ -1630,6 +1628,7 @@ measure_struct||| memEQ|5.004000||p memNE|5.004000||p mem_collxfrm||| +mem_log_common|||n mess_alloc||| mess_nocontext|||vn mess||5.006000|v @@ -1654,13 +1653,17 @@ mod||| more_bodies||| more_sv||| moreswitches||| -mro_get_linear_isa_c3||| +mro_get_from_name||5.011000| mro_get_linear_isa_dfs||| mro_get_linear_isa||5.009005| +mro_get_private_data||5.011000| mro_isa_changed_in||| mro_meta_dup||| mro_meta_init||| mro_method_changed_in||5.009005| +mro_register||5.011000| +mro_set_mro||5.011000| +mro_set_private_data||5.011000| mul128||| mulexp10|||n my_atof2||5.007002| @@ -1723,7 +1726,6 @@ my_swabn|||n my_swap||| my_unexec||| my_vsnprintf||5.009004|n -my||| need_utf8|||n newANONATTRSUB||5.006000| newANONHASH||| @@ -1819,7 +1821,6 @@ nuke_stacks||| num_overflow|||n offer_nice_chunk||| oopsAV||| -oopsCV||| oopsHV||| op_clear||| op_const_sv||| @@ -2009,6 +2010,7 @@ same_dirent||| save_I16||5.004000| save_I32||| save_I8||5.006000| +save_adelete||5.011000| save_aelem||5.004050| save_alloc||5.006000| save_aptr||| @@ -2026,7 +2028,9 @@ save_generic_svref||5.005030| save_gp||5.004000| save_hash||| save_hek_flags|||n +save_helem_flags||5.011000| save_helem||5.004050| +save_hints||| save_hptr||| save_int||| save_item||| @@ -2040,6 +2044,10 @@ save_nogv||| save_op||| save_padsv_and_mortalize||5.011000| save_pptr||| +save_pushi32ptr||| +save_pushptri32ptr||| +save_pushptrptr||| +save_pushptr||5.011000| save_re_context||5.006000| save_scalar_at||| save_scalar||| @@ -2082,6 +2090,7 @@ scan_vstring||5.009005| scan_word||| scope||| screaminstr||5.005000| +search_const||| seed||5.008001| sequence_num||| sequence_tail||| @@ -2091,7 +2100,6 @@ set_numeric_local||5.006000| set_numeric_radix||5.006000| set_numeric_standard||5.006000| setdefout||| -setenv_getix||| share_hek_flags||| share_hek||5.004000| si_dup||| @@ -2286,7 +2294,9 @@ sv_usepvn||| sv_utf8_decode||5.006000| sv_utf8_downgrade||5.006000| sv_utf8_encode||5.006000| +sv_utf8_upgrade_flags_grow||5.011000| sv_utf8_upgrade_flags||5.007002| +sv_utf8_upgrade_nomg||5.007002| sv_utf8_upgrade||5.007001| sv_uv|5.005000||p sv_vcatpvf_mg|5.006000|5.004000|p @@ -3732,7 +3742,6 @@ typedef NVTYPE NV; #endif #ifndef INT2PTR - # if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE) # define PTRV UV # define INT2PTR(any,d) (any)(d) @@ -3744,19 +3753,34 @@ typedef NVTYPE NV; # endif # define INT2PTR(any,d) (any)(PTRV)(d) # endif +#endif -# define NUM2PTR(any,d) (any)(PTRV)(d) -# define PTR2IV(p) INT2PTR(IV,p) -# define PTR2UV(p) INT2PTR(UV,p) -# define PTR2NV(p) NUM2PTR(NV,p) - +#ifndef PTR2ul # if PTRSIZE == LONGSIZE # define PTR2ul(p) (unsigned long)(p) # else # define PTR2ul(p) INT2PTR(unsigned long,p) # endif +#endif +#ifndef PTR2nat +# define PTR2nat(p) (PTRV)(p) +#endif + +#ifndef NUM2PTR +# define NUM2PTR(any,d) (any)PTR2nat(d) +#endif + +#ifndef PTR2IV +# define PTR2IV(p) INT2PTR(IV,p) +#endif -#endif /* !INT2PTR */ +#ifndef PTR2UV +# define PTR2UV(p) INT2PTR(UV,p) +#endif + +#ifndef PTR2NV +# define PTR2NV(p) NUM2PTR(NV,p) +#endif #undef START_EXTERN_C #undef END_EXTERN_C