From: Gurusamy Sarathy Date: Mon, 24 Jan 2000 13:04:45 +0000 (+0000) Subject: enable function wrappers for access to globals under MULTIPLICITY X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6f4183fe04888927cb36b966262c959c5166404b;p=p5sagit%2Fp5-mst-13.2.git enable function wrappers for access to globals under MULTIPLICITY (provides binary compatibility in the face of changes in interpreter structure) p4raw-id: //depot/perl@4878 --- diff --git a/Makefile.SH b/Makefile.SH index 347ee7e..2e1c7aa 100644 --- a/Makefile.SH +++ b/Makefile.SH @@ -228,7 +228,7 @@ addedbyconf = UU $(shextract) $(plextract) pstruct h1 = EXTERN.h INTERN.h XSUB.h av.h config.h cop.h cv.h dosish.h h2 = embed.h form.h gv.h handy.h hv.h keywords.h mg.h op.h -h3 = opcode.h patchlevel.h perl.h perly.h pp.h proto.h regcomp.h +h3 = opcode.h patchlevel.h perl.h perlapi.h perly.h pp.h proto.h regcomp.h h4 = regexp.h scope.h sv.h unixish.h util.h iperlsys.h thread.h h5 = utf8.h warnings.h h = $(h1) $(h2) $(h3) $(h4) $(h5) @@ -236,13 +236,13 @@ h = $(h1) $(h2) $(h3) $(h4) $(h5) c1 = $(mallocsrc) av.c scope.c op.c doop.c doio.c dump.c hv.c mg.c c2 = perl.c perly.c pp.c pp_hot.c pp_ctl.c pp_sys.c regcomp.c regexec.c utf8.c c3 = gv.c sv.c taint.c toke.c util.c deb.c run.c universal.c xsutils.c -c4 = globals.c perlio.c +c4 = globals.c perlio.c perlapi.c c = $(c1) $(c2) $(c3) $(c4) miniperlmain.c perlmain.c obj1 = $(mallocobj) gv$(OBJ_EXT) toke$(OBJ_EXT) perly$(OBJ_EXT) op$(OBJ_EXT) regcomp$(OBJ_EXT) dump$(OBJ_EXT) util$(OBJ_EXT) mg$(OBJ_EXT) obj2 = hv$(OBJ_EXT) av$(OBJ_EXT) run$(OBJ_EXT) pp_hot$(OBJ_EXT) sv$(OBJ_EXT) pp$(OBJ_EXT) scope$(OBJ_EXT) pp_ctl$(OBJ_EXT) pp_sys$(OBJ_EXT) -obj3 = doop$(OBJ_EXT) doio$(OBJ_EXT) regexec$(OBJ_EXT) utf8$(OBJ_EXT) taint$(OBJ_EXT) deb$(OBJ_EXT) universal$(OBJ_EXT) xsutils$(OBJ_EXT) globals$(OBJ_EXT) perlio$(OBJ_EXT) +obj3 = doop$(OBJ_EXT) doio$(OBJ_EXT) regexec$(OBJ_EXT) utf8$(OBJ_EXT) taint$(OBJ_EXT) deb$(OBJ_EXT) universal$(OBJ_EXT) xsutils$(OBJ_EXT) globals$(OBJ_EXT) perlio$(OBJ_EXT) perlapi$(OBJ_EXT) obj = $(obj1) $(obj2) $(obj3) $(ARCHOBJS) diff --git a/XSUB.h b/XSUB.h index a1d2257..18f5b81 100644 --- a/XSUB.h +++ b/XSUB.h @@ -119,10 +119,8 @@ # define VTBL_amagicelem &PL_vtbl_amagicelem #endif -#if defined(PERL_OBJECT) || defined(PERL_CAPI) -# include "perlapi.h" -# include "objXSUB.h" -#endif /* PERL_OBJECT || PERL_CAPI */ +#include "perlapi.h" +#include "objXSUB.h" #if defined(PERL_IMPLICIT_CONTEXT) && !defined(PERL_NO_GET_CONTEXT) && !defined(PERL_CORE) # undef aTHX diff --git a/cflags.SH b/cflags.SH index 54e19d5..ec6dc35 100755 --- a/cflags.SH +++ b/cflags.SH @@ -105,6 +105,7 @@ for file do miniperlmain) ;; op) ;; perl) ;; + perlapi) ;; perlmain) ;; perly) ;; pp) ;; diff --git a/embed.pl b/embed.pl index 52ab63a..c1ea2e6 100755 --- a/embed.pl +++ b/embed.pl @@ -259,7 +259,7 @@ sub hide ($$) { "#define $from" . "\t" x ($t < 3 ? 3 - $t : 1) . "$to\n"; } -sub objxsub_var ($$) { +sub bincompat_var ($$) { my ($pfx, $sym) = @_; my $arg = ($pfx eq 'G' ? 'NULL' : 'aTHXo'); undefine("PL_$sym") . hide("PL_$sym", "(*Perl_${pfx}${sym}_ptr($arg))"); @@ -710,27 +710,9 @@ print OBX <<'EOT'; #ifndef __objXSUB_h__ #define __objXSUB_h__ -/* Variables */ +/* method calls via pPerl (static functions without a "this" pointer need these) */ -EOT - -foreach my $sym (sort keys %intrp) { - print OBX objxsub_var('I',$sym); -} - -foreach my $sym (sort keys %thread) { - print OBX objxsub_var('T',$sym); -} - -foreach my $sym (sort keys %globvar) { - print OBX objxsub_var('G',$sym); -} - -print OBX <<'EOT'; - -/* Functions */ - -#if defined(PERL_OBJECT) +#if defined(PERL_CORE) && defined(PERL_OBJECT) /* XXX soon to be eliminated, only a few things in PERLCORE need these now */ @@ -765,7 +747,7 @@ for $sym (sort keys %ppsym) { print OBX <<'EOT'; -#endif /* PERL_OBJECT */ +#endif /* PERL_CORE && PERL_OBJECT */ #endif /* __objXSUB_h__ */ EOT @@ -783,8 +765,10 @@ print CAPIH <<'EOT'; */ /* declare accessor functions for Perl variables */ +#ifndef __perlapi_h__ +#define __perlapi_h__ -#if defined(PERL_OBJECT) || defined (PERL_CAPI) +#if defined(PERL_OBJECT) || defined (MULTIPLICITY) #if defined(PERL_OBJECT) # undef aTHXo @@ -816,10 +800,32 @@ START_EXTERN_C END_EXTERN_C -#endif /* PERL_OBJECT || PERL_CAPI */ +#if !defined(PERL_CORE) + +/* accessor functions for Perl variables (provides binary compatibility) */ EOT +foreach my $sym (sort keys %intrp) { + print CAPIH bincompat_var('I',$sym); +} + +foreach my $sym (sort keys %thread) { + print CAPIH bincompat_var('T',$sym); +} + +foreach my $sym (sort keys %globvar) { + print CAPIH bincompat_var('G',$sym); +} + +print CAPIH <<'EOT'; + +#endif /* !PERL_CORE */ +#endif /* PERL_OBJECT || MULTIPLICITY */ + +#endif /* __perlapi_h__ */ + +EOT print CAPI <<'EOT'; /* !!!!!!! DO NOT EDIT THIS FILE !!!!!!! @@ -831,7 +837,7 @@ print CAPI <<'EOT'; #include "perl.h" #include "perlapi.h" -#if defined(PERL_OBJECT) +#if defined(PERL_OBJECT) || defined (MULTIPLICITY) /* accessor functions for Perl variables (provides binary compatibility) */ START_EXTERN_C @@ -840,10 +846,19 @@ START_EXTERN_C #undef PERLVARA #undef PERLVARI #undef PERLVARIC + +#if defined(PERL_OBJECT) #define PERLVAR(v,t) t* Perl_##v##_ptr(pTHXo) \ { return &(aTHXo->interp.v); } #define PERLVARA(v,n,t) PL_##v##_t* Perl_##v##_ptr(pTHXo) \ { return &(aTHXo->interp.v); } +#else /* MULTIPLICITY */ +#define PERLVAR(v,t) t* Perl_##v##_ptr(pTHX) \ + { return &(aTHX->v); } +#define PERLVARA(v,n,t) PL_##v##_t* Perl_##v##_ptr(pTHX) \ + { return &(aTHX->v); } +#endif + #define PERLVARI(v,t,i) PERLVAR(v,t) #define PERLVARIC(v,t,i) PERLVAR(v, const t) @@ -863,6 +878,10 @@ START_EXTERN_C #undef PERLVARI #undef PERLVARIC +#if defined(PERL_OBJECT) + +/* C-API layer for PERL_OBJECT */ + EOT # functions that take va_list* for implementing vararg functions @@ -999,6 +1018,7 @@ Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...) END_EXTERN_C #endif /* PERL_OBJECT */ +#endif /* PERL_OBJECT || MULTIPLICITY */ EOT __END__ diff --git a/makedef.pl b/makedef.pl index f640f2f..1490f89 100644 --- a/makedef.pl +++ b/makedef.pl @@ -163,7 +163,7 @@ sub emit_symbols { foreach my $symbol (@$list) { my $skipsym = $symbol; # XXX hack - if ($define{PERL_OBJECT}) { + if ($define{PERL_OBJECT} || $define{MULTIPLICITY}) { $skipsym =~ s/^Perl_[GIT](\w+)_ptr$/PL_$1/; } emit_symbol($symbol) unless exists $skip{$skipsym}; @@ -446,16 +446,11 @@ sub readvar { return \@syms; } -if ($define{'USE_5005THREADS'} || $define{'MULTIPLICITY'}) { +if ($define{'USE_5005THREADS'}) { my $thrd = readvar($thrdvar_h); skip_symbols $thrd; } -if ($define{'MULTIPLICITY'}) { - my $interp = readvar($intrpvar_h); - skip_symbols $interp; -} - if ($define{'PERL_GLOBAL_STRUCT'}) { my $global = readvar($perlvars_h); skip_symbols $global; @@ -487,7 +482,7 @@ for my $syms (@syms) { # variables -if ($define{'PERL_OBJECT'}) { +if ($define{'PERL_OBJECT'} || $define{'MULTIPLICITY'}) { for my $f ($perlvars_h, $intrpvar_h, $thrdvar_h) { my $glob = readvar($f, sub { "Perl_" . $_[1] . $_[2] . "_ptr" }); emit_symbols $glob; diff --git a/objXSUB.h b/objXSUB.h index 3b20d76..262ead9 100644 --- a/objXSUB.h +++ b/objXSUB.h @@ -6,812 +6,9 @@ #ifndef __objXSUB_h__ #define __objXSUB_h__ -/* Variables */ +/* method calls via pPerl (static functions without a "this" pointer need these) */ -#undef PL_Argv -#define PL_Argv (*Perl_IArgv_ptr(aTHXo)) -#undef PL_Cmd -#define PL_Cmd (*Perl_ICmd_ptr(aTHXo)) -#undef PL_DBcv -#define PL_DBcv (*Perl_IDBcv_ptr(aTHXo)) -#undef PL_DBgv -#define PL_DBgv (*Perl_IDBgv_ptr(aTHXo)) -#undef PL_DBline -#define PL_DBline (*Perl_IDBline_ptr(aTHXo)) -#undef PL_DBsignal -#define PL_DBsignal (*Perl_IDBsignal_ptr(aTHXo)) -#undef PL_DBsingle -#define PL_DBsingle (*Perl_IDBsingle_ptr(aTHXo)) -#undef PL_DBsub -#define PL_DBsub (*Perl_IDBsub_ptr(aTHXo)) -#undef PL_DBtrace -#define PL_DBtrace (*Perl_IDBtrace_ptr(aTHXo)) -#undef PL_Dir -#define PL_Dir (*Perl_IDir_ptr(aTHXo)) -#undef PL_Env -#define PL_Env (*Perl_IEnv_ptr(aTHXo)) -#undef PL_LIO -#define PL_LIO (*Perl_ILIO_ptr(aTHXo)) -#undef PL_Mem -#define PL_Mem (*Perl_IMem_ptr(aTHXo)) -#undef PL_MemParse -#define PL_MemParse (*Perl_IMemParse_ptr(aTHXo)) -#undef PL_MemShared -#define PL_MemShared (*Perl_IMemShared_ptr(aTHXo)) -#undef PL_Proc -#define PL_Proc (*Perl_IProc_ptr(aTHXo)) -#undef PL_Sock -#define PL_Sock (*Perl_ISock_ptr(aTHXo)) -#undef PL_StdIO -#define PL_StdIO (*Perl_IStdIO_ptr(aTHXo)) -#undef PL_amagic_generation -#define PL_amagic_generation (*Perl_Iamagic_generation_ptr(aTHXo)) -#undef PL_an -#define PL_an (*Perl_Ian_ptr(aTHXo)) -#undef PL_argvgv -#define PL_argvgv (*Perl_Iargvgv_ptr(aTHXo)) -#undef PL_argvout_stack -#define PL_argvout_stack (*Perl_Iargvout_stack_ptr(aTHXo)) -#undef PL_argvoutgv -#define PL_argvoutgv (*Perl_Iargvoutgv_ptr(aTHXo)) -#undef PL_basetime -#define PL_basetime (*Perl_Ibasetime_ptr(aTHXo)) -#undef PL_beginav -#define PL_beginav (*Perl_Ibeginav_ptr(aTHXo)) -#undef PL_bitcount -#define PL_bitcount (*Perl_Ibitcount_ptr(aTHXo)) -#undef PL_bufend -#define PL_bufend (*Perl_Ibufend_ptr(aTHXo)) -#undef PL_bufptr -#define PL_bufptr (*Perl_Ibufptr_ptr(aTHXo)) -#undef PL_collation_ix -#define PL_collation_ix (*Perl_Icollation_ix_ptr(aTHXo)) -#undef PL_collation_name -#define PL_collation_name (*Perl_Icollation_name_ptr(aTHXo)) -#undef PL_collation_standard -#define PL_collation_standard (*Perl_Icollation_standard_ptr(aTHXo)) -#undef PL_collxfrm_base -#define PL_collxfrm_base (*Perl_Icollxfrm_base_ptr(aTHXo)) -#undef PL_collxfrm_mult -#define PL_collxfrm_mult (*Perl_Icollxfrm_mult_ptr(aTHXo)) -#undef PL_compcv -#define PL_compcv (*Perl_Icompcv_ptr(aTHXo)) -#undef PL_compiling -#define PL_compiling (*Perl_Icompiling_ptr(aTHXo)) -#undef PL_comppad -#define PL_comppad (*Perl_Icomppad_ptr(aTHXo)) -#undef PL_comppad_name -#define PL_comppad_name (*Perl_Icomppad_name_ptr(aTHXo)) -#undef PL_comppad_name_fill -#define PL_comppad_name_fill (*Perl_Icomppad_name_fill_ptr(aTHXo)) -#undef PL_comppad_name_floor -#define PL_comppad_name_floor (*Perl_Icomppad_name_floor_ptr(aTHXo)) -#undef PL_cop_seqmax -#define PL_cop_seqmax (*Perl_Icop_seqmax_ptr(aTHXo)) -#undef PL_copline -#define PL_copline (*Perl_Icopline_ptr(aTHXo)) -#undef PL_cred_mutex -#define PL_cred_mutex (*Perl_Icred_mutex_ptr(aTHXo)) -#undef PL_cryptseen -#define PL_cryptseen (*Perl_Icryptseen_ptr(aTHXo)) -#undef PL_cshlen -#define PL_cshlen (*Perl_Icshlen_ptr(aTHXo)) -#undef PL_cshname -#define PL_cshname (*Perl_Icshname_ptr(aTHXo)) -#undef PL_curcopdb -#define PL_curcopdb (*Perl_Icurcopdb_ptr(aTHXo)) -#undef PL_curstname -#define PL_curstname (*Perl_Icurstname_ptr(aTHXo)) -#undef PL_curthr -#define PL_curthr (*Perl_Icurthr_ptr(aTHXo)) -#undef PL_dbargs -#define PL_dbargs (*Perl_Idbargs_ptr(aTHXo)) -#undef PL_debstash -#define PL_debstash (*Perl_Idebstash_ptr(aTHXo)) -#undef PL_debug -#define PL_debug (*Perl_Idebug_ptr(aTHXo)) -#undef PL_defgv -#define PL_defgv (*Perl_Idefgv_ptr(aTHXo)) -#undef PL_diehook -#define PL_diehook (*Perl_Idiehook_ptr(aTHXo)) -#undef PL_doextract -#define PL_doextract (*Perl_Idoextract_ptr(aTHXo)) -#undef PL_doswitches -#define PL_doswitches (*Perl_Idoswitches_ptr(aTHXo)) -#undef PL_dowarn -#define PL_dowarn (*Perl_Idowarn_ptr(aTHXo)) -#undef PL_e_script -#define PL_e_script (*Perl_Ie_script_ptr(aTHXo)) -#undef PL_egid -#define PL_egid (*Perl_Iegid_ptr(aTHXo)) -#undef PL_endav -#define PL_endav (*Perl_Iendav_ptr(aTHXo)) -#undef PL_envgv -#define PL_envgv (*Perl_Ienvgv_ptr(aTHXo)) -#undef PL_errgv -#define PL_errgv (*Perl_Ierrgv_ptr(aTHXo)) -#undef PL_error_count -#define PL_error_count (*Perl_Ierror_count_ptr(aTHXo)) -#undef PL_euid -#define PL_euid (*Perl_Ieuid_ptr(aTHXo)) -#undef PL_eval_cond -#define PL_eval_cond (*Perl_Ieval_cond_ptr(aTHXo)) -#undef PL_eval_mutex -#define PL_eval_mutex (*Perl_Ieval_mutex_ptr(aTHXo)) -#undef PL_eval_owner -#define PL_eval_owner (*Perl_Ieval_owner_ptr(aTHXo)) -#undef PL_eval_root -#define PL_eval_root (*Perl_Ieval_root_ptr(aTHXo)) -#undef PL_eval_start -#define PL_eval_start (*Perl_Ieval_start_ptr(aTHXo)) -#undef PL_evalseq -#define PL_evalseq (*Perl_Ievalseq_ptr(aTHXo)) -#undef PL_exit_flags -#define PL_exit_flags (*Perl_Iexit_flags_ptr(aTHXo)) -#undef PL_exitlist -#define PL_exitlist (*Perl_Iexitlist_ptr(aTHXo)) -#undef PL_exitlistlen -#define PL_exitlistlen (*Perl_Iexitlistlen_ptr(aTHXo)) -#undef PL_expect -#define PL_expect (*Perl_Iexpect_ptr(aTHXo)) -#undef PL_fdpid -#define PL_fdpid (*Perl_Ifdpid_ptr(aTHXo)) -#undef PL_filemode -#define PL_filemode (*Perl_Ifilemode_ptr(aTHXo)) -#undef PL_forkprocess -#define PL_forkprocess (*Perl_Iforkprocess_ptr(aTHXo)) -#undef PL_formfeed -#define PL_formfeed (*Perl_Iformfeed_ptr(aTHXo)) -#undef PL_generation -#define PL_generation (*Perl_Igeneration_ptr(aTHXo)) -#undef PL_gensym -#define PL_gensym (*Perl_Igensym_ptr(aTHXo)) -#undef PL_gid -#define PL_gid (*Perl_Igid_ptr(aTHXo)) -#undef PL_glob_index -#define PL_glob_index (*Perl_Iglob_index_ptr(aTHXo)) -#undef PL_globalstash -#define PL_globalstash (*Perl_Iglobalstash_ptr(aTHXo)) -#undef PL_he_root -#define PL_he_root (*Perl_Ihe_root_ptr(aTHXo)) -#undef PL_hintgv -#define PL_hintgv (*Perl_Ihintgv_ptr(aTHXo)) -#undef PL_hints -#define PL_hints (*Perl_Ihints_ptr(aTHXo)) -#undef PL_in_clean_all -#define PL_in_clean_all (*Perl_Iin_clean_all_ptr(aTHXo)) -#undef PL_in_clean_objs -#define PL_in_clean_objs (*Perl_Iin_clean_objs_ptr(aTHXo)) -#undef PL_in_my -#define PL_in_my (*Perl_Iin_my_ptr(aTHXo)) -#undef PL_in_my_stash -#define PL_in_my_stash (*Perl_Iin_my_stash_ptr(aTHXo)) -#undef PL_incgv -#define PL_incgv (*Perl_Iincgv_ptr(aTHXo)) -#undef PL_initav -#define PL_initav (*Perl_Iinitav_ptr(aTHXo)) -#undef PL_inplace -#define PL_inplace (*Perl_Iinplace_ptr(aTHXo)) -#undef PL_last_lop -#define PL_last_lop (*Perl_Ilast_lop_ptr(aTHXo)) -#undef PL_last_lop_op -#define PL_last_lop_op (*Perl_Ilast_lop_op_ptr(aTHXo)) -#undef PL_last_swash_hv -#define PL_last_swash_hv (*Perl_Ilast_swash_hv_ptr(aTHXo)) -#undef PL_last_swash_key -#define PL_last_swash_key (*Perl_Ilast_swash_key_ptr(aTHXo)) -#undef PL_last_swash_klen -#define PL_last_swash_klen (*Perl_Ilast_swash_klen_ptr(aTHXo)) -#undef PL_last_swash_slen -#define PL_last_swash_slen (*Perl_Ilast_swash_slen_ptr(aTHXo)) -#undef PL_last_swash_tmps -#define PL_last_swash_tmps (*Perl_Ilast_swash_tmps_ptr(aTHXo)) -#undef PL_last_uni -#define PL_last_uni (*Perl_Ilast_uni_ptr(aTHXo)) -#undef PL_lastfd -#define PL_lastfd (*Perl_Ilastfd_ptr(aTHXo)) -#undef PL_laststatval -#define PL_laststatval (*Perl_Ilaststatval_ptr(aTHXo)) -#undef PL_laststype -#define PL_laststype (*Perl_Ilaststype_ptr(aTHXo)) -#undef PL_lex_brackets -#define PL_lex_brackets (*Perl_Ilex_brackets_ptr(aTHXo)) -#undef PL_lex_brackstack -#define PL_lex_brackstack (*Perl_Ilex_brackstack_ptr(aTHXo)) -#undef PL_lex_casemods -#define PL_lex_casemods (*Perl_Ilex_casemods_ptr(aTHXo)) -#undef PL_lex_casestack -#define PL_lex_casestack (*Perl_Ilex_casestack_ptr(aTHXo)) -#undef PL_lex_defer -#define PL_lex_defer (*Perl_Ilex_defer_ptr(aTHXo)) -#undef PL_lex_dojoin -#define PL_lex_dojoin (*Perl_Ilex_dojoin_ptr(aTHXo)) -#undef PL_lex_expect -#define PL_lex_expect (*Perl_Ilex_expect_ptr(aTHXo)) -#undef PL_lex_formbrack -#define PL_lex_formbrack (*Perl_Ilex_formbrack_ptr(aTHXo)) -#undef PL_lex_inpat -#define PL_lex_inpat (*Perl_Ilex_inpat_ptr(aTHXo)) -#undef PL_lex_inwhat -#define PL_lex_inwhat (*Perl_Ilex_inwhat_ptr(aTHXo)) -#undef PL_lex_op -#define PL_lex_op (*Perl_Ilex_op_ptr(aTHXo)) -#undef PL_lex_repl -#define PL_lex_repl (*Perl_Ilex_repl_ptr(aTHXo)) -#undef PL_lex_starts -#define PL_lex_starts (*Perl_Ilex_starts_ptr(aTHXo)) -#undef PL_lex_state -#define PL_lex_state (*Perl_Ilex_state_ptr(aTHXo)) -#undef PL_lex_stuff -#define PL_lex_stuff (*Perl_Ilex_stuff_ptr(aTHXo)) -#undef PL_lineary -#define PL_lineary (*Perl_Ilineary_ptr(aTHXo)) -#undef PL_linestart -#define PL_linestart (*Perl_Ilinestart_ptr(aTHXo)) -#undef PL_linestr -#define PL_linestr (*Perl_Ilinestr_ptr(aTHXo)) -#undef PL_localpatches -#define PL_localpatches (*Perl_Ilocalpatches_ptr(aTHXo)) -#undef PL_main_cv -#define PL_main_cv (*Perl_Imain_cv_ptr(aTHXo)) -#undef PL_main_root -#define PL_main_root (*Perl_Imain_root_ptr(aTHXo)) -#undef PL_main_start -#define PL_main_start (*Perl_Imain_start_ptr(aTHXo)) -#undef PL_max_intro_pending -#define PL_max_intro_pending (*Perl_Imax_intro_pending_ptr(aTHXo)) -#undef PL_maxo -#define PL_maxo (*Perl_Imaxo_ptr(aTHXo)) -#undef PL_maxsysfd -#define PL_maxsysfd (*Perl_Imaxsysfd_ptr(aTHXo)) -#undef PL_mess_sv -#define PL_mess_sv (*Perl_Imess_sv_ptr(aTHXo)) -#undef PL_min_intro_pending -#define PL_min_intro_pending (*Perl_Imin_intro_pending_ptr(aTHXo)) -#undef PL_minus_F -#define PL_minus_F (*Perl_Iminus_F_ptr(aTHXo)) -#undef PL_minus_a -#define PL_minus_a (*Perl_Iminus_a_ptr(aTHXo)) -#undef PL_minus_c -#define PL_minus_c (*Perl_Iminus_c_ptr(aTHXo)) -#undef PL_minus_l -#define PL_minus_l (*Perl_Iminus_l_ptr(aTHXo)) -#undef PL_minus_n -#define PL_minus_n (*Perl_Iminus_n_ptr(aTHXo)) -#undef PL_minus_p -#define PL_minus_p (*Perl_Iminus_p_ptr(aTHXo)) -#undef PL_modglobal -#define PL_modglobal (*Perl_Imodglobal_ptr(aTHXo)) -#undef PL_multi_close -#define PL_multi_close (*Perl_Imulti_close_ptr(aTHXo)) -#undef PL_multi_end -#define PL_multi_end (*Perl_Imulti_end_ptr(aTHXo)) -#undef PL_multi_open -#define PL_multi_open (*Perl_Imulti_open_ptr(aTHXo)) -#undef PL_multi_start -#define PL_multi_start (*Perl_Imulti_start_ptr(aTHXo)) -#undef PL_multiline -#define PL_multiline (*Perl_Imultiline_ptr(aTHXo)) -#undef PL_nexttoke -#define PL_nexttoke (*Perl_Inexttoke_ptr(aTHXo)) -#undef PL_nexttype -#define PL_nexttype (*Perl_Inexttype_ptr(aTHXo)) -#undef PL_nextval -#define PL_nextval (*Perl_Inextval_ptr(aTHXo)) -#undef PL_nice_chunk -#define PL_nice_chunk (*Perl_Inice_chunk_ptr(aTHXo)) -#undef PL_nice_chunk_size -#define PL_nice_chunk_size (*Perl_Inice_chunk_size_ptr(aTHXo)) -#undef PL_nomemok -#define PL_nomemok (*Perl_Inomemok_ptr(aTHXo)) -#undef PL_nthreads -#define PL_nthreads (*Perl_Inthreads_ptr(aTHXo)) -#undef PL_nthreads_cond -#define PL_nthreads_cond (*Perl_Inthreads_cond_ptr(aTHXo)) -#undef PL_numeric_local -#define PL_numeric_local (*Perl_Inumeric_local_ptr(aTHXo)) -#undef PL_numeric_name -#define PL_numeric_name (*Perl_Inumeric_name_ptr(aTHXo)) -#undef PL_numeric_radix -#define PL_numeric_radix (*Perl_Inumeric_radix_ptr(aTHXo)) -#undef PL_numeric_standard -#define PL_numeric_standard (*Perl_Inumeric_standard_ptr(aTHXo)) -#undef PL_ofmt -#define PL_ofmt (*Perl_Iofmt_ptr(aTHXo)) -#undef PL_oldbufptr -#define PL_oldbufptr (*Perl_Ioldbufptr_ptr(aTHXo)) -#undef PL_oldname -#define PL_oldname (*Perl_Ioldname_ptr(aTHXo)) -#undef PL_oldoldbufptr -#define PL_oldoldbufptr (*Perl_Ioldoldbufptr_ptr(aTHXo)) -#undef PL_op_mask -#define PL_op_mask (*Perl_Iop_mask_ptr(aTHXo)) -#undef PL_op_seqmax -#define PL_op_seqmax (*Perl_Iop_seqmax_ptr(aTHXo)) -#undef PL_origalen -#define PL_origalen (*Perl_Iorigalen_ptr(aTHXo)) -#undef PL_origargc -#define PL_origargc (*Perl_Iorigargc_ptr(aTHXo)) -#undef PL_origargv -#define PL_origargv (*Perl_Iorigargv_ptr(aTHXo)) -#undef PL_origenviron -#define PL_origenviron (*Perl_Iorigenviron_ptr(aTHXo)) -#undef PL_origfilename -#define PL_origfilename (*Perl_Iorigfilename_ptr(aTHXo)) -#undef PL_ors -#define PL_ors (*Perl_Iors_ptr(aTHXo)) -#undef PL_orslen -#define PL_orslen (*Perl_Iorslen_ptr(aTHXo)) -#undef PL_osname -#define PL_osname (*Perl_Iosname_ptr(aTHXo)) -#undef PL_pad_reset_pending -#define PL_pad_reset_pending (*Perl_Ipad_reset_pending_ptr(aTHXo)) -#undef PL_padix -#define PL_padix (*Perl_Ipadix_ptr(aTHXo)) -#undef PL_padix_floor -#define PL_padix_floor (*Perl_Ipadix_floor_ptr(aTHXo)) -#undef PL_patchlevel -#define PL_patchlevel (*Perl_Ipatchlevel_ptr(aTHXo)) -#undef PL_pending_ident -#define PL_pending_ident (*Perl_Ipending_ident_ptr(aTHXo)) -#undef PL_perl_destruct_level -#define PL_perl_destruct_level (*Perl_Iperl_destruct_level_ptr(aTHXo)) -#undef PL_perldb -#define PL_perldb (*Perl_Iperldb_ptr(aTHXo)) -#undef PL_pidstatus -#define PL_pidstatus (*Perl_Ipidstatus_ptr(aTHXo)) -#undef PL_preambleav -#define PL_preambleav (*Perl_Ipreambleav_ptr(aTHXo)) -#undef PL_preambled -#define PL_preambled (*Perl_Ipreambled_ptr(aTHXo)) -#undef PL_preprocess -#define PL_preprocess (*Perl_Ipreprocess_ptr(aTHXo)) -#undef PL_profiledata -#define PL_profiledata (*Perl_Iprofiledata_ptr(aTHXo)) -#undef PL_psig_name -#define PL_psig_name (*Perl_Ipsig_name_ptr(aTHXo)) -#undef PL_psig_ptr -#define PL_psig_ptr (*Perl_Ipsig_ptr_ptr(aTHXo)) -#undef PL_ptr_table -#define PL_ptr_table (*Perl_Iptr_table_ptr(aTHXo)) -#undef PL_replgv -#define PL_replgv (*Perl_Ireplgv_ptr(aTHXo)) -#undef PL_rsfp -#define PL_rsfp (*Perl_Irsfp_ptr(aTHXo)) -#undef PL_rsfp_filters -#define PL_rsfp_filters (*Perl_Irsfp_filters_ptr(aTHXo)) -#undef PL_runops -#define PL_runops (*Perl_Irunops_ptr(aTHXo)) -#undef PL_sawampersand -#define PL_sawampersand (*Perl_Isawampersand_ptr(aTHXo)) -#undef PL_sh_path -#define PL_sh_path (*Perl_Ish_path_ptr(aTHXo)) -#undef PL_sighandlerp -#define PL_sighandlerp (*Perl_Isighandlerp_ptr(aTHXo)) -#undef PL_splitstr -#define PL_splitstr (*Perl_Isplitstr_ptr(aTHXo)) -#undef PL_srand_called -#define PL_srand_called (*Perl_Isrand_called_ptr(aTHXo)) -#undef PL_statusvalue -#define PL_statusvalue (*Perl_Istatusvalue_ptr(aTHXo)) -#undef PL_statusvalue_vms -#define PL_statusvalue_vms (*Perl_Istatusvalue_vms_ptr(aTHXo)) -#undef PL_stderrgv -#define PL_stderrgv (*Perl_Istderrgv_ptr(aTHXo)) -#undef PL_stdingv -#define PL_stdingv (*Perl_Istdingv_ptr(aTHXo)) -#undef PL_stopav -#define PL_stopav (*Perl_Istopav_ptr(aTHXo)) -#undef PL_strtab -#define PL_strtab (*Perl_Istrtab_ptr(aTHXo)) -#undef PL_strtab_mutex -#define PL_strtab_mutex (*Perl_Istrtab_mutex_ptr(aTHXo)) -#undef PL_sub_generation -#define PL_sub_generation (*Perl_Isub_generation_ptr(aTHXo)) -#undef PL_sublex_info -#define PL_sublex_info (*Perl_Isublex_info_ptr(aTHXo)) -#undef PL_subline -#define PL_subline (*Perl_Isubline_ptr(aTHXo)) -#undef PL_subname -#define PL_subname (*Perl_Isubname_ptr(aTHXo)) -#undef PL_sv_arenaroot -#define PL_sv_arenaroot (*Perl_Isv_arenaroot_ptr(aTHXo)) -#undef PL_sv_count -#define PL_sv_count (*Perl_Isv_count_ptr(aTHXo)) -#undef PL_sv_mutex -#define PL_sv_mutex (*Perl_Isv_mutex_ptr(aTHXo)) -#undef PL_sv_no -#define PL_sv_no (*Perl_Isv_no_ptr(aTHXo)) -#undef PL_sv_objcount -#define PL_sv_objcount (*Perl_Isv_objcount_ptr(aTHXo)) -#undef PL_sv_root -#define PL_sv_root (*Perl_Isv_root_ptr(aTHXo)) -#undef PL_sv_undef -#define PL_sv_undef (*Perl_Isv_undef_ptr(aTHXo)) -#undef PL_sv_yes -#define PL_sv_yes (*Perl_Isv_yes_ptr(aTHXo)) -#undef PL_svref_mutex -#define PL_svref_mutex (*Perl_Isvref_mutex_ptr(aTHXo)) -#undef PL_sys_intern -#define PL_sys_intern (*Perl_Isys_intern_ptr(aTHXo)) -#undef PL_tainting -#define PL_tainting (*Perl_Itainting_ptr(aTHXo)) -#undef PL_thr_key -#define PL_thr_key (*Perl_Ithr_key_ptr(aTHXo)) -#undef PL_threadnum -#define PL_threadnum (*Perl_Ithreadnum_ptr(aTHXo)) -#undef PL_threads_mutex -#define PL_threads_mutex (*Perl_Ithreads_mutex_ptr(aTHXo)) -#undef PL_threadsv_names -#define PL_threadsv_names (*Perl_Ithreadsv_names_ptr(aTHXo)) -#undef PL_thrsv -#define PL_thrsv (*Perl_Ithrsv_ptr(aTHXo)) -#undef PL_tokenbuf -#define PL_tokenbuf (*Perl_Itokenbuf_ptr(aTHXo)) -#undef PL_uid -#define PL_uid (*Perl_Iuid_ptr(aTHXo)) -#undef PL_unsafe -#define PL_unsafe (*Perl_Iunsafe_ptr(aTHXo)) -#undef PL_utf8_alnum -#define PL_utf8_alnum (*Perl_Iutf8_alnum_ptr(aTHXo)) -#undef PL_utf8_alnumc -#define PL_utf8_alnumc (*Perl_Iutf8_alnumc_ptr(aTHXo)) -#undef PL_utf8_alpha -#define PL_utf8_alpha (*Perl_Iutf8_alpha_ptr(aTHXo)) -#undef PL_utf8_ascii -#define PL_utf8_ascii (*Perl_Iutf8_ascii_ptr(aTHXo)) -#undef PL_utf8_cntrl -#define PL_utf8_cntrl (*Perl_Iutf8_cntrl_ptr(aTHXo)) -#undef PL_utf8_digit -#define PL_utf8_digit (*Perl_Iutf8_digit_ptr(aTHXo)) -#undef PL_utf8_graph -#define PL_utf8_graph (*Perl_Iutf8_graph_ptr(aTHXo)) -#undef PL_utf8_lower -#define PL_utf8_lower (*Perl_Iutf8_lower_ptr(aTHXo)) -#undef PL_utf8_mark -#define PL_utf8_mark (*Perl_Iutf8_mark_ptr(aTHXo)) -#undef PL_utf8_print -#define PL_utf8_print (*Perl_Iutf8_print_ptr(aTHXo)) -#undef PL_utf8_punct -#define PL_utf8_punct (*Perl_Iutf8_punct_ptr(aTHXo)) -#undef PL_utf8_space -#define PL_utf8_space (*Perl_Iutf8_space_ptr(aTHXo)) -#undef PL_utf8_tolower -#define PL_utf8_tolower (*Perl_Iutf8_tolower_ptr(aTHXo)) -#undef PL_utf8_totitle -#define PL_utf8_totitle (*Perl_Iutf8_totitle_ptr(aTHXo)) -#undef PL_utf8_toupper -#define PL_utf8_toupper (*Perl_Iutf8_toupper_ptr(aTHXo)) -#undef PL_utf8_upper -#define PL_utf8_upper (*Perl_Iutf8_upper_ptr(aTHXo)) -#undef PL_utf8_xdigit -#define PL_utf8_xdigit (*Perl_Iutf8_xdigit_ptr(aTHXo)) -#undef PL_uudmap -#define PL_uudmap (*Perl_Iuudmap_ptr(aTHXo)) -#undef PL_warnhook -#define PL_warnhook (*Perl_Iwarnhook_ptr(aTHXo)) -#undef PL_xiv_arenaroot -#define PL_xiv_arenaroot (*Perl_Ixiv_arenaroot_ptr(aTHXo)) -#undef PL_xiv_root -#define PL_xiv_root (*Perl_Ixiv_root_ptr(aTHXo)) -#undef PL_xnv_root -#define PL_xnv_root (*Perl_Ixnv_root_ptr(aTHXo)) -#undef PL_xpv_root -#define PL_xpv_root (*Perl_Ixpv_root_ptr(aTHXo)) -#undef PL_xpvav_root -#define PL_xpvav_root (*Perl_Ixpvav_root_ptr(aTHXo)) -#undef PL_xpvbm_root -#define PL_xpvbm_root (*Perl_Ixpvbm_root_ptr(aTHXo)) -#undef PL_xpvcv_root -#define PL_xpvcv_root (*Perl_Ixpvcv_root_ptr(aTHXo)) -#undef PL_xpvhv_root -#define PL_xpvhv_root (*Perl_Ixpvhv_root_ptr(aTHXo)) -#undef PL_xpviv_root -#define PL_xpviv_root (*Perl_Ixpviv_root_ptr(aTHXo)) -#undef PL_xpvlv_root -#define PL_xpvlv_root (*Perl_Ixpvlv_root_ptr(aTHXo)) -#undef PL_xpvmg_root -#define PL_xpvmg_root (*Perl_Ixpvmg_root_ptr(aTHXo)) -#undef PL_xpvnv_root -#define PL_xpvnv_root (*Perl_Ixpvnv_root_ptr(aTHXo)) -#undef PL_xrv_root -#define PL_xrv_root (*Perl_Ixrv_root_ptr(aTHXo)) -#undef PL_yychar -#define PL_yychar (*Perl_Iyychar_ptr(aTHXo)) -#undef PL_yydebug -#define PL_yydebug (*Perl_Iyydebug_ptr(aTHXo)) -#undef PL_yyerrflag -#define PL_yyerrflag (*Perl_Iyyerrflag_ptr(aTHXo)) -#undef PL_yylval -#define PL_yylval (*Perl_Iyylval_ptr(aTHXo)) -#undef PL_yynerrs -#define PL_yynerrs (*Perl_Iyynerrs_ptr(aTHXo)) -#undef PL_yyval -#define PL_yyval (*Perl_Iyyval_ptr(aTHXo)) -#undef PL_Sv -#define PL_Sv (*Perl_TSv_ptr(aTHXo)) -#undef PL_Xpv -#define PL_Xpv (*Perl_TXpv_ptr(aTHXo)) -#undef PL_av_fetch_sv -#define PL_av_fetch_sv (*Perl_Tav_fetch_sv_ptr(aTHXo)) -#undef PL_bodytarget -#define PL_bodytarget (*Perl_Tbodytarget_ptr(aTHXo)) -#undef PL_bostr -#define PL_bostr (*Perl_Tbostr_ptr(aTHXo)) -#undef PL_chopset -#define PL_chopset (*Perl_Tchopset_ptr(aTHXo)) -#undef PL_colors -#define PL_colors (*Perl_Tcolors_ptr(aTHXo)) -#undef PL_colorset -#define PL_colorset (*Perl_Tcolorset_ptr(aTHXo)) -#undef PL_curcop -#define PL_curcop (*Perl_Tcurcop_ptr(aTHXo)) -#undef PL_curpad -#define PL_curpad (*Perl_Tcurpad_ptr(aTHXo)) -#undef PL_curpm -#define PL_curpm (*Perl_Tcurpm_ptr(aTHXo)) -#undef PL_curstack -#define PL_curstack (*Perl_Tcurstack_ptr(aTHXo)) -#undef PL_curstackinfo -#define PL_curstackinfo (*Perl_Tcurstackinfo_ptr(aTHXo)) -#undef PL_curstash -#define PL_curstash (*Perl_Tcurstash_ptr(aTHXo)) -#undef PL_defoutgv -#define PL_defoutgv (*Perl_Tdefoutgv_ptr(aTHXo)) -#undef PL_defstash -#define PL_defstash (*Perl_Tdefstash_ptr(aTHXo)) -#undef PL_delaymagic -#define PL_delaymagic (*Perl_Tdelaymagic_ptr(aTHXo)) -#undef PL_dirty -#define PL_dirty (*Perl_Tdirty_ptr(aTHXo)) -#undef PL_dumpindent -#define PL_dumpindent (*Perl_Tdumpindent_ptr(aTHXo)) -#undef PL_efloatbuf -#define PL_efloatbuf (*Perl_Tefloatbuf_ptr(aTHXo)) -#undef PL_efloatsize -#define PL_efloatsize (*Perl_Tefloatsize_ptr(aTHXo)) -#undef PL_errors -#define PL_errors (*Perl_Terrors_ptr(aTHXo)) -#undef PL_extralen -#define PL_extralen (*Perl_Textralen_ptr(aTHXo)) -#undef PL_firstgv -#define PL_firstgv (*Perl_Tfirstgv_ptr(aTHXo)) -#undef PL_formtarget -#define PL_formtarget (*Perl_Tformtarget_ptr(aTHXo)) -#undef PL_hv_fetch_ent_mh -#define PL_hv_fetch_ent_mh (*Perl_Thv_fetch_ent_mh_ptr(aTHXo)) -#undef PL_hv_fetch_sv -#define PL_hv_fetch_sv (*Perl_Thv_fetch_sv_ptr(aTHXo)) -#undef PL_in_eval -#define PL_in_eval (*Perl_Tin_eval_ptr(aTHXo)) -#undef PL_last_in_gv -#define PL_last_in_gv (*Perl_Tlast_in_gv_ptr(aTHXo)) -#undef PL_lastgotoprobe -#define PL_lastgotoprobe (*Perl_Tlastgotoprobe_ptr(aTHXo)) -#undef PL_lastscream -#define PL_lastscream (*Perl_Tlastscream_ptr(aTHXo)) -#undef PL_localizing -#define PL_localizing (*Perl_Tlocalizing_ptr(aTHXo)) -#undef PL_mainstack -#define PL_mainstack (*Perl_Tmainstack_ptr(aTHXo)) -#undef PL_markstack -#define PL_markstack (*Perl_Tmarkstack_ptr(aTHXo)) -#undef PL_markstack_max -#define PL_markstack_max (*Perl_Tmarkstack_max_ptr(aTHXo)) -#undef PL_markstack_ptr -#define PL_markstack_ptr (*Perl_Tmarkstack_ptr_ptr(aTHXo)) -#undef PL_maxscream -#define PL_maxscream (*Perl_Tmaxscream_ptr(aTHXo)) -#undef PL_modcount -#define PL_modcount (*Perl_Tmodcount_ptr(aTHXo)) -#undef PL_na -#define PL_na (*Perl_Tna_ptr(aTHXo)) -#undef PL_nrs -#define PL_nrs (*Perl_Tnrs_ptr(aTHXo)) -#undef PL_ofs -#define PL_ofs (*Perl_Tofs_ptr(aTHXo)) -#undef PL_ofslen -#define PL_ofslen (*Perl_Tofslen_ptr(aTHXo)) -#undef PL_op -#define PL_op (*Perl_Top_ptr(aTHXo)) -#undef PL_opsave -#define PL_opsave (*Perl_Topsave_ptr(aTHXo)) -#undef PL_protect -#define PL_protect (*Perl_Tprotect_ptr(aTHXo)) -#undef PL_reg_call_cc -#define PL_reg_call_cc (*Perl_Treg_call_cc_ptr(aTHXo)) -#undef PL_reg_curpm -#define PL_reg_curpm (*Perl_Treg_curpm_ptr(aTHXo)) -#undef PL_reg_eval_set -#define PL_reg_eval_set (*Perl_Treg_eval_set_ptr(aTHXo)) -#undef PL_reg_flags -#define PL_reg_flags (*Perl_Treg_flags_ptr(aTHXo)) -#undef PL_reg_ganch -#define PL_reg_ganch (*Perl_Treg_ganch_ptr(aTHXo)) -#undef PL_reg_leftiter -#define PL_reg_leftiter (*Perl_Treg_leftiter_ptr(aTHXo)) -#undef PL_reg_magic -#define PL_reg_magic (*Perl_Treg_magic_ptr(aTHXo)) -#undef PL_reg_maxiter -#define PL_reg_maxiter (*Perl_Treg_maxiter_ptr(aTHXo)) -#undef PL_reg_oldcurpm -#define PL_reg_oldcurpm (*Perl_Treg_oldcurpm_ptr(aTHXo)) -#undef PL_reg_oldpos -#define PL_reg_oldpos (*Perl_Treg_oldpos_ptr(aTHXo)) -#undef PL_reg_oldsaved -#define PL_reg_oldsaved (*Perl_Treg_oldsaved_ptr(aTHXo)) -#undef PL_reg_oldsavedlen -#define PL_reg_oldsavedlen (*Perl_Treg_oldsavedlen_ptr(aTHXo)) -#undef PL_reg_poscache -#define PL_reg_poscache (*Perl_Treg_poscache_ptr(aTHXo)) -#undef PL_reg_poscache_size -#define PL_reg_poscache_size (*Perl_Treg_poscache_size_ptr(aTHXo)) -#undef PL_reg_re -#define PL_reg_re (*Perl_Treg_re_ptr(aTHXo)) -#undef PL_reg_start_tmp -#define PL_reg_start_tmp (*Perl_Treg_start_tmp_ptr(aTHXo)) -#undef PL_reg_start_tmpl -#define PL_reg_start_tmpl (*Perl_Treg_start_tmpl_ptr(aTHXo)) -#undef PL_reg_starttry -#define PL_reg_starttry (*Perl_Treg_starttry_ptr(aTHXo)) -#undef PL_reg_sv -#define PL_reg_sv (*Perl_Treg_sv_ptr(aTHXo)) -#undef PL_reg_whilem_seen -#define PL_reg_whilem_seen (*Perl_Treg_whilem_seen_ptr(aTHXo)) -#undef PL_regbol -#define PL_regbol (*Perl_Tregbol_ptr(aTHXo)) -#undef PL_regcc -#define PL_regcc (*Perl_Tregcc_ptr(aTHXo)) -#undef PL_regcode -#define PL_regcode (*Perl_Tregcode_ptr(aTHXo)) -#undef PL_regcomp_parse -#define PL_regcomp_parse (*Perl_Tregcomp_parse_ptr(aTHXo)) -#undef PL_regcomp_rx -#define PL_regcomp_rx (*Perl_Tregcomp_rx_ptr(aTHXo)) -#undef PL_regcompp -#define PL_regcompp (*Perl_Tregcompp_ptr(aTHXo)) -#undef PL_regdata -#define PL_regdata (*Perl_Tregdata_ptr(aTHXo)) -#undef PL_regdummy -#define PL_regdummy (*Perl_Tregdummy_ptr(aTHXo)) -#undef PL_regendp -#define PL_regendp (*Perl_Tregendp_ptr(aTHXo)) -#undef PL_regeol -#define PL_regeol (*Perl_Tregeol_ptr(aTHXo)) -#undef PL_regexecp -#define PL_regexecp (*Perl_Tregexecp_ptr(aTHXo)) -#undef PL_regflags -#define PL_regflags (*Perl_Tregflags_ptr(aTHXo)) -#undef PL_regfree -#define PL_regfree (*Perl_Tregfree_ptr(aTHXo)) -#undef PL_regindent -#define PL_regindent (*Perl_Tregindent_ptr(aTHXo)) -#undef PL_reginput -#define PL_reginput (*Perl_Treginput_ptr(aTHXo)) -#undef PL_regint_start -#define PL_regint_start (*Perl_Tregint_start_ptr(aTHXo)) -#undef PL_regint_string -#define PL_regint_string (*Perl_Tregint_string_ptr(aTHXo)) -#undef PL_reginterp_cnt -#define PL_reginterp_cnt (*Perl_Treginterp_cnt_ptr(aTHXo)) -#undef PL_reglastparen -#define PL_reglastparen (*Perl_Treglastparen_ptr(aTHXo)) -#undef PL_regnarrate -#define PL_regnarrate (*Perl_Tregnarrate_ptr(aTHXo)) -#undef PL_regnaughty -#define PL_regnaughty (*Perl_Tregnaughty_ptr(aTHXo)) -#undef PL_regnpar -#define PL_regnpar (*Perl_Tregnpar_ptr(aTHXo)) -#undef PL_regprecomp -#define PL_regprecomp (*Perl_Tregprecomp_ptr(aTHXo)) -#undef PL_regprev -#define PL_regprev (*Perl_Tregprev_ptr(aTHXo)) -#undef PL_regprogram -#define PL_regprogram (*Perl_Tregprogram_ptr(aTHXo)) -#undef PL_regsawback -#define PL_regsawback (*Perl_Tregsawback_ptr(aTHXo)) -#undef PL_regseen -#define PL_regseen (*Perl_Tregseen_ptr(aTHXo)) -#undef PL_regsize -#define PL_regsize (*Perl_Tregsize_ptr(aTHXo)) -#undef PL_regstartp -#define PL_regstartp (*Perl_Tregstartp_ptr(aTHXo)) -#undef PL_regtill -#define PL_regtill (*Perl_Tregtill_ptr(aTHXo)) -#undef PL_regxend -#define PL_regxend (*Perl_Tregxend_ptr(aTHXo)) -#undef PL_restartop -#define PL_restartop (*Perl_Trestartop_ptr(aTHXo)) -#undef PL_retstack -#define PL_retstack (*Perl_Tretstack_ptr(aTHXo)) -#undef PL_retstack_ix -#define PL_retstack_ix (*Perl_Tretstack_ix_ptr(aTHXo)) -#undef PL_retstack_max -#define PL_retstack_max (*Perl_Tretstack_max_ptr(aTHXo)) -#undef PL_rs -#define PL_rs (*Perl_Trs_ptr(aTHXo)) -#undef PL_savestack -#define PL_savestack (*Perl_Tsavestack_ptr(aTHXo)) -#undef PL_savestack_ix -#define PL_savestack_ix (*Perl_Tsavestack_ix_ptr(aTHXo)) -#undef PL_savestack_max -#define PL_savestack_max (*Perl_Tsavestack_max_ptr(aTHXo)) -#undef PL_scopestack -#define PL_scopestack (*Perl_Tscopestack_ptr(aTHXo)) -#undef PL_scopestack_ix -#define PL_scopestack_ix (*Perl_Tscopestack_ix_ptr(aTHXo)) -#undef PL_scopestack_max -#define PL_scopestack_max (*Perl_Tscopestack_max_ptr(aTHXo)) -#undef PL_screamfirst -#define PL_screamfirst (*Perl_Tscreamfirst_ptr(aTHXo)) -#undef PL_screamnext -#define PL_screamnext (*Perl_Tscreamnext_ptr(aTHXo)) -#undef PL_secondgv -#define PL_secondgv (*Perl_Tsecondgv_ptr(aTHXo)) -#undef PL_seen_evals -#define PL_seen_evals (*Perl_Tseen_evals_ptr(aTHXo)) -#undef PL_seen_zerolen -#define PL_seen_zerolen (*Perl_Tseen_zerolen_ptr(aTHXo)) -#undef PL_sortcop -#define PL_sortcop (*Perl_Tsortcop_ptr(aTHXo)) -#undef PL_sortcxix -#define PL_sortcxix (*Perl_Tsortcxix_ptr(aTHXo)) -#undef PL_sortstash -#define PL_sortstash (*Perl_Tsortstash_ptr(aTHXo)) -#undef PL_stack_base -#define PL_stack_base (*Perl_Tstack_base_ptr(aTHXo)) -#undef PL_stack_max -#define PL_stack_max (*Perl_Tstack_max_ptr(aTHXo)) -#undef PL_stack_sp -#define PL_stack_sp (*Perl_Tstack_sp_ptr(aTHXo)) -#undef PL_start_env -#define PL_start_env (*Perl_Tstart_env_ptr(aTHXo)) -#undef PL_statbuf -#define PL_statbuf (*Perl_Tstatbuf_ptr(aTHXo)) -#undef PL_statcache -#define PL_statcache (*Perl_Tstatcache_ptr(aTHXo)) -#undef PL_statgv -#define PL_statgv (*Perl_Tstatgv_ptr(aTHXo)) -#undef PL_statname -#define PL_statname (*Perl_Tstatname_ptr(aTHXo)) -#undef PL_tainted -#define PL_tainted (*Perl_Ttainted_ptr(aTHXo)) -#undef PL_timesbuf -#define PL_timesbuf (*Perl_Ttimesbuf_ptr(aTHXo)) -#undef PL_tmps_floor -#define PL_tmps_floor (*Perl_Ttmps_floor_ptr(aTHXo)) -#undef PL_tmps_ix -#define PL_tmps_ix (*Perl_Ttmps_ix_ptr(aTHXo)) -#undef PL_tmps_max -#define PL_tmps_max (*Perl_Ttmps_max_ptr(aTHXo)) -#undef PL_tmps_stack -#define PL_tmps_stack (*Perl_Ttmps_stack_ptr(aTHXo)) -#undef PL_top_env -#define PL_top_env (*Perl_Ttop_env_ptr(aTHXo)) -#undef PL_toptarget -#define PL_toptarget (*Perl_Ttoptarget_ptr(aTHXo)) -#undef PL_watchaddr -#define PL_watchaddr (*Perl_Twatchaddr_ptr(aTHXo)) -#undef PL_watchok -#define PL_watchok (*Perl_Twatchok_ptr(aTHXo)) -#undef PL_No -#define PL_No (*Perl_GNo_ptr(NULL)) -#undef PL_Yes -#define PL_Yes (*Perl_GYes_ptr(NULL)) -#undef PL_curinterp -#define PL_curinterp (*Perl_Gcurinterp_ptr(NULL)) -#undef PL_do_undump -#define PL_do_undump (*Perl_Gdo_undump_ptr(NULL)) -#undef PL_hexdigit -#define PL_hexdigit (*Perl_Ghexdigit_ptr(NULL)) -#undef PL_malloc_mutex -#define PL_malloc_mutex (*Perl_Gmalloc_mutex_ptr(NULL)) -#undef PL_patleave -#define PL_patleave (*Perl_Gpatleave_ptr(NULL)) - -/* Functions */ - -#if defined(PERL_OBJECT) +#if defined(PERL_CORE) && defined(PERL_OBJECT) /* XXX soon to be eliminated, only a few things in PERLCORE need these now */ @@ -5249,5 +4446,5 @@ #undef pp_xor #define pp_xor Perl_pp_xor -#endif /* PERL_OBJECT */ +#endif /* PERL_CORE && PERL_OBJECT */ #endif /* __objXSUB_h__ */ diff --git a/perl.h b/perl.h index 52f85a5..518f4b3 100644 --- a/perl.h +++ b/perl.h @@ -37,6 +37,12 @@ /* See L for detailed notes on * PERL_IMPLICIT_CONTEXT and PERL_IMPLICIT_SYS */ +#ifdef USE_ITHREADS +# if !defined(MULTIPLICITY) && !defined(PERL_OBJECT) +# define MULTIPLICITY +# endif +#endif + #ifdef USE_THREADS # ifndef PERL_IMPLICIT_CONTEXT # define PERL_IMPLICIT_CONTEXT @@ -71,10 +77,6 @@ # endif #endif -#if defined(USE_ITHREADS) && !defined(MULTIPLICITY) && !defined(PERL_OBJECT) -# include "error: USE_ITHREADS must be built with MULTIPLICITY" -#endif - #ifdef PERL_OBJECT /* PERL_OBJECT explained - DickH and DougL @ ActiveState.com diff --git a/perlapi.c b/perlapi.c index 437096b..b28c4b5 100644 --- a/perlapi.c +++ b/perlapi.c @@ -7,7 +7,7 @@ #include "perl.h" #include "perlapi.h" -#if defined(PERL_OBJECT) +#if defined(PERL_OBJECT) || defined (MULTIPLICITY) /* accessor functions for Perl variables (provides binary compatibility) */ START_EXTERN_C @@ -16,10 +16,19 @@ START_EXTERN_C #undef PERLVARA #undef PERLVARI #undef PERLVARIC + +#if defined(PERL_OBJECT) #define PERLVAR(v,t) t* Perl_##v##_ptr(pTHXo) \ { return &(aTHXo->interp.v); } #define PERLVARA(v,n,t) PL_##v##_t* Perl_##v##_ptr(pTHXo) \ { return &(aTHXo->interp.v); } +#else /* MULTIPLICITY */ +#define PERLVAR(v,t) t* Perl_##v##_ptr(pTHX) \ + { return &(aTHX->v); } +#define PERLVARA(v,n,t) PL_##v##_t* Perl_##v##_ptr(pTHX) \ + { return &(aTHX->v); } +#endif + #define PERLVARI(v,t,i) PERLVAR(v,t) #define PERLVARIC(v,t,i) PERLVAR(v, const t) @@ -39,6 +48,10 @@ START_EXTERN_C #undef PERLVARI #undef PERLVARIC +#if defined(PERL_OBJECT) + +/* C-API layer for PERL_OBJECT */ + #if defined(PERL_IMPLICIT_SYS) #else #endif @@ -7849,3 +7862,4 @@ Perl_fprintf_nocontext(PerlIO *stream, const char *format, ...) END_EXTERN_C #endif /* PERL_OBJECT */ +#endif /* PERL_OBJECT || MULTIPLICITY */ diff --git a/perlapi.h b/perlapi.h index 0dac61a..0c92f99 100644 --- a/perlapi.h +++ b/perlapi.h @@ -4,8 +4,10 @@ */ /* declare accessor functions for Perl variables */ +#ifndef __perlapi_h__ +#define __perlapi_h__ -#if defined(PERL_OBJECT) || defined (PERL_CAPI) +#if defined(PERL_OBJECT) || defined (MULTIPLICITY) #if defined(PERL_OBJECT) # undef aTHXo @@ -37,5 +39,813 @@ START_EXTERN_C END_EXTERN_C -#endif /* PERL_OBJECT || PERL_CAPI */ +#if !defined(PERL_CORE) + +/* accessor functions for Perl variables (provides binary compatibility) */ + +#undef PL_Argv +#define PL_Argv (*Perl_IArgv_ptr(aTHXo)) +#undef PL_Cmd +#define PL_Cmd (*Perl_ICmd_ptr(aTHXo)) +#undef PL_DBcv +#define PL_DBcv (*Perl_IDBcv_ptr(aTHXo)) +#undef PL_DBgv +#define PL_DBgv (*Perl_IDBgv_ptr(aTHXo)) +#undef PL_DBline +#define PL_DBline (*Perl_IDBline_ptr(aTHXo)) +#undef PL_DBsignal +#define PL_DBsignal (*Perl_IDBsignal_ptr(aTHXo)) +#undef PL_DBsingle +#define PL_DBsingle (*Perl_IDBsingle_ptr(aTHXo)) +#undef PL_DBsub +#define PL_DBsub (*Perl_IDBsub_ptr(aTHXo)) +#undef PL_DBtrace +#define PL_DBtrace (*Perl_IDBtrace_ptr(aTHXo)) +#undef PL_Dir +#define PL_Dir (*Perl_IDir_ptr(aTHXo)) +#undef PL_Env +#define PL_Env (*Perl_IEnv_ptr(aTHXo)) +#undef PL_LIO +#define PL_LIO (*Perl_ILIO_ptr(aTHXo)) +#undef PL_Mem +#define PL_Mem (*Perl_IMem_ptr(aTHXo)) +#undef PL_MemParse +#define PL_MemParse (*Perl_IMemParse_ptr(aTHXo)) +#undef PL_MemShared +#define PL_MemShared (*Perl_IMemShared_ptr(aTHXo)) +#undef PL_Proc +#define PL_Proc (*Perl_IProc_ptr(aTHXo)) +#undef PL_Sock +#define PL_Sock (*Perl_ISock_ptr(aTHXo)) +#undef PL_StdIO +#define PL_StdIO (*Perl_IStdIO_ptr(aTHXo)) +#undef PL_amagic_generation +#define PL_amagic_generation (*Perl_Iamagic_generation_ptr(aTHXo)) +#undef PL_an +#define PL_an (*Perl_Ian_ptr(aTHXo)) +#undef PL_argvgv +#define PL_argvgv (*Perl_Iargvgv_ptr(aTHXo)) +#undef PL_argvout_stack +#define PL_argvout_stack (*Perl_Iargvout_stack_ptr(aTHXo)) +#undef PL_argvoutgv +#define PL_argvoutgv (*Perl_Iargvoutgv_ptr(aTHXo)) +#undef PL_basetime +#define PL_basetime (*Perl_Ibasetime_ptr(aTHXo)) +#undef PL_beginav +#define PL_beginav (*Perl_Ibeginav_ptr(aTHXo)) +#undef PL_bitcount +#define PL_bitcount (*Perl_Ibitcount_ptr(aTHXo)) +#undef PL_bufend +#define PL_bufend (*Perl_Ibufend_ptr(aTHXo)) +#undef PL_bufptr +#define PL_bufptr (*Perl_Ibufptr_ptr(aTHXo)) +#undef PL_collation_ix +#define PL_collation_ix (*Perl_Icollation_ix_ptr(aTHXo)) +#undef PL_collation_name +#define PL_collation_name (*Perl_Icollation_name_ptr(aTHXo)) +#undef PL_collation_standard +#define PL_collation_standard (*Perl_Icollation_standard_ptr(aTHXo)) +#undef PL_collxfrm_base +#define PL_collxfrm_base (*Perl_Icollxfrm_base_ptr(aTHXo)) +#undef PL_collxfrm_mult +#define PL_collxfrm_mult (*Perl_Icollxfrm_mult_ptr(aTHXo)) +#undef PL_compcv +#define PL_compcv (*Perl_Icompcv_ptr(aTHXo)) +#undef PL_compiling +#define PL_compiling (*Perl_Icompiling_ptr(aTHXo)) +#undef PL_comppad +#define PL_comppad (*Perl_Icomppad_ptr(aTHXo)) +#undef PL_comppad_name +#define PL_comppad_name (*Perl_Icomppad_name_ptr(aTHXo)) +#undef PL_comppad_name_fill +#define PL_comppad_name_fill (*Perl_Icomppad_name_fill_ptr(aTHXo)) +#undef PL_comppad_name_floor +#define PL_comppad_name_floor (*Perl_Icomppad_name_floor_ptr(aTHXo)) +#undef PL_cop_seqmax +#define PL_cop_seqmax (*Perl_Icop_seqmax_ptr(aTHXo)) +#undef PL_copline +#define PL_copline (*Perl_Icopline_ptr(aTHXo)) +#undef PL_cred_mutex +#define PL_cred_mutex (*Perl_Icred_mutex_ptr(aTHXo)) +#undef PL_cryptseen +#define PL_cryptseen (*Perl_Icryptseen_ptr(aTHXo)) +#undef PL_cshlen +#define PL_cshlen (*Perl_Icshlen_ptr(aTHXo)) +#undef PL_cshname +#define PL_cshname (*Perl_Icshname_ptr(aTHXo)) +#undef PL_curcopdb +#define PL_curcopdb (*Perl_Icurcopdb_ptr(aTHXo)) +#undef PL_curstname +#define PL_curstname (*Perl_Icurstname_ptr(aTHXo)) +#undef PL_curthr +#define PL_curthr (*Perl_Icurthr_ptr(aTHXo)) +#undef PL_dbargs +#define PL_dbargs (*Perl_Idbargs_ptr(aTHXo)) +#undef PL_debstash +#define PL_debstash (*Perl_Idebstash_ptr(aTHXo)) +#undef PL_debug +#define PL_debug (*Perl_Idebug_ptr(aTHXo)) +#undef PL_defgv +#define PL_defgv (*Perl_Idefgv_ptr(aTHXo)) +#undef PL_diehook +#define PL_diehook (*Perl_Idiehook_ptr(aTHXo)) +#undef PL_doextract +#define PL_doextract (*Perl_Idoextract_ptr(aTHXo)) +#undef PL_doswitches +#define PL_doswitches (*Perl_Idoswitches_ptr(aTHXo)) +#undef PL_dowarn +#define PL_dowarn (*Perl_Idowarn_ptr(aTHXo)) +#undef PL_e_script +#define PL_e_script (*Perl_Ie_script_ptr(aTHXo)) +#undef PL_egid +#define PL_egid (*Perl_Iegid_ptr(aTHXo)) +#undef PL_endav +#define PL_endav (*Perl_Iendav_ptr(aTHXo)) +#undef PL_envgv +#define PL_envgv (*Perl_Ienvgv_ptr(aTHXo)) +#undef PL_errgv +#define PL_errgv (*Perl_Ierrgv_ptr(aTHXo)) +#undef PL_error_count +#define PL_error_count (*Perl_Ierror_count_ptr(aTHXo)) +#undef PL_euid +#define PL_euid (*Perl_Ieuid_ptr(aTHXo)) +#undef PL_eval_cond +#define PL_eval_cond (*Perl_Ieval_cond_ptr(aTHXo)) +#undef PL_eval_mutex +#define PL_eval_mutex (*Perl_Ieval_mutex_ptr(aTHXo)) +#undef PL_eval_owner +#define PL_eval_owner (*Perl_Ieval_owner_ptr(aTHXo)) +#undef PL_eval_root +#define PL_eval_root (*Perl_Ieval_root_ptr(aTHXo)) +#undef PL_eval_start +#define PL_eval_start (*Perl_Ieval_start_ptr(aTHXo)) +#undef PL_evalseq +#define PL_evalseq (*Perl_Ievalseq_ptr(aTHXo)) +#undef PL_exit_flags +#define PL_exit_flags (*Perl_Iexit_flags_ptr(aTHXo)) +#undef PL_exitlist +#define PL_exitlist (*Perl_Iexitlist_ptr(aTHXo)) +#undef PL_exitlistlen +#define PL_exitlistlen (*Perl_Iexitlistlen_ptr(aTHXo)) +#undef PL_expect +#define PL_expect (*Perl_Iexpect_ptr(aTHXo)) +#undef PL_fdpid +#define PL_fdpid (*Perl_Ifdpid_ptr(aTHXo)) +#undef PL_filemode +#define PL_filemode (*Perl_Ifilemode_ptr(aTHXo)) +#undef PL_forkprocess +#define PL_forkprocess (*Perl_Iforkprocess_ptr(aTHXo)) +#undef PL_formfeed +#define PL_formfeed (*Perl_Iformfeed_ptr(aTHXo)) +#undef PL_generation +#define PL_generation (*Perl_Igeneration_ptr(aTHXo)) +#undef PL_gensym +#define PL_gensym (*Perl_Igensym_ptr(aTHXo)) +#undef PL_gid +#define PL_gid (*Perl_Igid_ptr(aTHXo)) +#undef PL_glob_index +#define PL_glob_index (*Perl_Iglob_index_ptr(aTHXo)) +#undef PL_globalstash +#define PL_globalstash (*Perl_Iglobalstash_ptr(aTHXo)) +#undef PL_he_root +#define PL_he_root (*Perl_Ihe_root_ptr(aTHXo)) +#undef PL_hintgv +#define PL_hintgv (*Perl_Ihintgv_ptr(aTHXo)) +#undef PL_hints +#define PL_hints (*Perl_Ihints_ptr(aTHXo)) +#undef PL_in_clean_all +#define PL_in_clean_all (*Perl_Iin_clean_all_ptr(aTHXo)) +#undef PL_in_clean_objs +#define PL_in_clean_objs (*Perl_Iin_clean_objs_ptr(aTHXo)) +#undef PL_in_my +#define PL_in_my (*Perl_Iin_my_ptr(aTHXo)) +#undef PL_in_my_stash +#define PL_in_my_stash (*Perl_Iin_my_stash_ptr(aTHXo)) +#undef PL_incgv +#define PL_incgv (*Perl_Iincgv_ptr(aTHXo)) +#undef PL_initav +#define PL_initav (*Perl_Iinitav_ptr(aTHXo)) +#undef PL_inplace +#define PL_inplace (*Perl_Iinplace_ptr(aTHXo)) +#undef PL_last_lop +#define PL_last_lop (*Perl_Ilast_lop_ptr(aTHXo)) +#undef PL_last_lop_op +#define PL_last_lop_op (*Perl_Ilast_lop_op_ptr(aTHXo)) +#undef PL_last_swash_hv +#define PL_last_swash_hv (*Perl_Ilast_swash_hv_ptr(aTHXo)) +#undef PL_last_swash_key +#define PL_last_swash_key (*Perl_Ilast_swash_key_ptr(aTHXo)) +#undef PL_last_swash_klen +#define PL_last_swash_klen (*Perl_Ilast_swash_klen_ptr(aTHXo)) +#undef PL_last_swash_slen +#define PL_last_swash_slen (*Perl_Ilast_swash_slen_ptr(aTHXo)) +#undef PL_last_swash_tmps +#define PL_last_swash_tmps (*Perl_Ilast_swash_tmps_ptr(aTHXo)) +#undef PL_last_uni +#define PL_last_uni (*Perl_Ilast_uni_ptr(aTHXo)) +#undef PL_lastfd +#define PL_lastfd (*Perl_Ilastfd_ptr(aTHXo)) +#undef PL_laststatval +#define PL_laststatval (*Perl_Ilaststatval_ptr(aTHXo)) +#undef PL_laststype +#define PL_laststype (*Perl_Ilaststype_ptr(aTHXo)) +#undef PL_lex_brackets +#define PL_lex_brackets (*Perl_Ilex_brackets_ptr(aTHXo)) +#undef PL_lex_brackstack +#define PL_lex_brackstack (*Perl_Ilex_brackstack_ptr(aTHXo)) +#undef PL_lex_casemods +#define PL_lex_casemods (*Perl_Ilex_casemods_ptr(aTHXo)) +#undef PL_lex_casestack +#define PL_lex_casestack (*Perl_Ilex_casestack_ptr(aTHXo)) +#undef PL_lex_defer +#define PL_lex_defer (*Perl_Ilex_defer_ptr(aTHXo)) +#undef PL_lex_dojoin +#define PL_lex_dojoin (*Perl_Ilex_dojoin_ptr(aTHXo)) +#undef PL_lex_expect +#define PL_lex_expect (*Perl_Ilex_expect_ptr(aTHXo)) +#undef PL_lex_formbrack +#define PL_lex_formbrack (*Perl_Ilex_formbrack_ptr(aTHXo)) +#undef PL_lex_inpat +#define PL_lex_inpat (*Perl_Ilex_inpat_ptr(aTHXo)) +#undef PL_lex_inwhat +#define PL_lex_inwhat (*Perl_Ilex_inwhat_ptr(aTHXo)) +#undef PL_lex_op +#define PL_lex_op (*Perl_Ilex_op_ptr(aTHXo)) +#undef PL_lex_repl +#define PL_lex_repl (*Perl_Ilex_repl_ptr(aTHXo)) +#undef PL_lex_starts +#define PL_lex_starts (*Perl_Ilex_starts_ptr(aTHXo)) +#undef PL_lex_state +#define PL_lex_state (*Perl_Ilex_state_ptr(aTHXo)) +#undef PL_lex_stuff +#define PL_lex_stuff (*Perl_Ilex_stuff_ptr(aTHXo)) +#undef PL_lineary +#define PL_lineary (*Perl_Ilineary_ptr(aTHXo)) +#undef PL_linestart +#define PL_linestart (*Perl_Ilinestart_ptr(aTHXo)) +#undef PL_linestr +#define PL_linestr (*Perl_Ilinestr_ptr(aTHXo)) +#undef PL_localpatches +#define PL_localpatches (*Perl_Ilocalpatches_ptr(aTHXo)) +#undef PL_main_cv +#define PL_main_cv (*Perl_Imain_cv_ptr(aTHXo)) +#undef PL_main_root +#define PL_main_root (*Perl_Imain_root_ptr(aTHXo)) +#undef PL_main_start +#define PL_main_start (*Perl_Imain_start_ptr(aTHXo)) +#undef PL_max_intro_pending +#define PL_max_intro_pending (*Perl_Imax_intro_pending_ptr(aTHXo)) +#undef PL_maxo +#define PL_maxo (*Perl_Imaxo_ptr(aTHXo)) +#undef PL_maxsysfd +#define PL_maxsysfd (*Perl_Imaxsysfd_ptr(aTHXo)) +#undef PL_mess_sv +#define PL_mess_sv (*Perl_Imess_sv_ptr(aTHXo)) +#undef PL_min_intro_pending +#define PL_min_intro_pending (*Perl_Imin_intro_pending_ptr(aTHXo)) +#undef PL_minus_F +#define PL_minus_F (*Perl_Iminus_F_ptr(aTHXo)) +#undef PL_minus_a +#define PL_minus_a (*Perl_Iminus_a_ptr(aTHXo)) +#undef PL_minus_c +#define PL_minus_c (*Perl_Iminus_c_ptr(aTHXo)) +#undef PL_minus_l +#define PL_minus_l (*Perl_Iminus_l_ptr(aTHXo)) +#undef PL_minus_n +#define PL_minus_n (*Perl_Iminus_n_ptr(aTHXo)) +#undef PL_minus_p +#define PL_minus_p (*Perl_Iminus_p_ptr(aTHXo)) +#undef PL_modglobal +#define PL_modglobal (*Perl_Imodglobal_ptr(aTHXo)) +#undef PL_multi_close +#define PL_multi_close (*Perl_Imulti_close_ptr(aTHXo)) +#undef PL_multi_end +#define PL_multi_end (*Perl_Imulti_end_ptr(aTHXo)) +#undef PL_multi_open +#define PL_multi_open (*Perl_Imulti_open_ptr(aTHXo)) +#undef PL_multi_start +#define PL_multi_start (*Perl_Imulti_start_ptr(aTHXo)) +#undef PL_multiline +#define PL_multiline (*Perl_Imultiline_ptr(aTHXo)) +#undef PL_nexttoke +#define PL_nexttoke (*Perl_Inexttoke_ptr(aTHXo)) +#undef PL_nexttype +#define PL_nexttype (*Perl_Inexttype_ptr(aTHXo)) +#undef PL_nextval +#define PL_nextval (*Perl_Inextval_ptr(aTHXo)) +#undef PL_nice_chunk +#define PL_nice_chunk (*Perl_Inice_chunk_ptr(aTHXo)) +#undef PL_nice_chunk_size +#define PL_nice_chunk_size (*Perl_Inice_chunk_size_ptr(aTHXo)) +#undef PL_nomemok +#define PL_nomemok (*Perl_Inomemok_ptr(aTHXo)) +#undef PL_nthreads +#define PL_nthreads (*Perl_Inthreads_ptr(aTHXo)) +#undef PL_nthreads_cond +#define PL_nthreads_cond (*Perl_Inthreads_cond_ptr(aTHXo)) +#undef PL_numeric_local +#define PL_numeric_local (*Perl_Inumeric_local_ptr(aTHXo)) +#undef PL_numeric_name +#define PL_numeric_name (*Perl_Inumeric_name_ptr(aTHXo)) +#undef PL_numeric_radix +#define PL_numeric_radix (*Perl_Inumeric_radix_ptr(aTHXo)) +#undef PL_numeric_standard +#define PL_numeric_standard (*Perl_Inumeric_standard_ptr(aTHXo)) +#undef PL_ofmt +#define PL_ofmt (*Perl_Iofmt_ptr(aTHXo)) +#undef PL_oldbufptr +#define PL_oldbufptr (*Perl_Ioldbufptr_ptr(aTHXo)) +#undef PL_oldname +#define PL_oldname (*Perl_Ioldname_ptr(aTHXo)) +#undef PL_oldoldbufptr +#define PL_oldoldbufptr (*Perl_Ioldoldbufptr_ptr(aTHXo)) +#undef PL_op_mask +#define PL_op_mask (*Perl_Iop_mask_ptr(aTHXo)) +#undef PL_op_seqmax +#define PL_op_seqmax (*Perl_Iop_seqmax_ptr(aTHXo)) +#undef PL_origalen +#define PL_origalen (*Perl_Iorigalen_ptr(aTHXo)) +#undef PL_origargc +#define PL_origargc (*Perl_Iorigargc_ptr(aTHXo)) +#undef PL_origargv +#define PL_origargv (*Perl_Iorigargv_ptr(aTHXo)) +#undef PL_origenviron +#define PL_origenviron (*Perl_Iorigenviron_ptr(aTHXo)) +#undef PL_origfilename +#define PL_origfilename (*Perl_Iorigfilename_ptr(aTHXo)) +#undef PL_ors +#define PL_ors (*Perl_Iors_ptr(aTHXo)) +#undef PL_orslen +#define PL_orslen (*Perl_Iorslen_ptr(aTHXo)) +#undef PL_osname +#define PL_osname (*Perl_Iosname_ptr(aTHXo)) +#undef PL_pad_reset_pending +#define PL_pad_reset_pending (*Perl_Ipad_reset_pending_ptr(aTHXo)) +#undef PL_padix +#define PL_padix (*Perl_Ipadix_ptr(aTHXo)) +#undef PL_padix_floor +#define PL_padix_floor (*Perl_Ipadix_floor_ptr(aTHXo)) +#undef PL_patchlevel +#define PL_patchlevel (*Perl_Ipatchlevel_ptr(aTHXo)) +#undef PL_pending_ident +#define PL_pending_ident (*Perl_Ipending_ident_ptr(aTHXo)) +#undef PL_perl_destruct_level +#define PL_perl_destruct_level (*Perl_Iperl_destruct_level_ptr(aTHXo)) +#undef PL_perldb +#define PL_perldb (*Perl_Iperldb_ptr(aTHXo)) +#undef PL_pidstatus +#define PL_pidstatus (*Perl_Ipidstatus_ptr(aTHXo)) +#undef PL_preambleav +#define PL_preambleav (*Perl_Ipreambleav_ptr(aTHXo)) +#undef PL_preambled +#define PL_preambled (*Perl_Ipreambled_ptr(aTHXo)) +#undef PL_preprocess +#define PL_preprocess (*Perl_Ipreprocess_ptr(aTHXo)) +#undef PL_profiledata +#define PL_profiledata (*Perl_Iprofiledata_ptr(aTHXo)) +#undef PL_psig_name +#define PL_psig_name (*Perl_Ipsig_name_ptr(aTHXo)) +#undef PL_psig_ptr +#define PL_psig_ptr (*Perl_Ipsig_ptr_ptr(aTHXo)) +#undef PL_ptr_table +#define PL_ptr_table (*Perl_Iptr_table_ptr(aTHXo)) +#undef PL_replgv +#define PL_replgv (*Perl_Ireplgv_ptr(aTHXo)) +#undef PL_rsfp +#define PL_rsfp (*Perl_Irsfp_ptr(aTHXo)) +#undef PL_rsfp_filters +#define PL_rsfp_filters (*Perl_Irsfp_filters_ptr(aTHXo)) +#undef PL_runops +#define PL_runops (*Perl_Irunops_ptr(aTHXo)) +#undef PL_sawampersand +#define PL_sawampersand (*Perl_Isawampersand_ptr(aTHXo)) +#undef PL_sh_path +#define PL_sh_path (*Perl_Ish_path_ptr(aTHXo)) +#undef PL_sighandlerp +#define PL_sighandlerp (*Perl_Isighandlerp_ptr(aTHXo)) +#undef PL_splitstr +#define PL_splitstr (*Perl_Isplitstr_ptr(aTHXo)) +#undef PL_srand_called +#define PL_srand_called (*Perl_Isrand_called_ptr(aTHXo)) +#undef PL_statusvalue +#define PL_statusvalue (*Perl_Istatusvalue_ptr(aTHXo)) +#undef PL_statusvalue_vms +#define PL_statusvalue_vms (*Perl_Istatusvalue_vms_ptr(aTHXo)) +#undef PL_stderrgv +#define PL_stderrgv (*Perl_Istderrgv_ptr(aTHXo)) +#undef PL_stdingv +#define PL_stdingv (*Perl_Istdingv_ptr(aTHXo)) +#undef PL_stopav +#define PL_stopav (*Perl_Istopav_ptr(aTHXo)) +#undef PL_strtab +#define PL_strtab (*Perl_Istrtab_ptr(aTHXo)) +#undef PL_strtab_mutex +#define PL_strtab_mutex (*Perl_Istrtab_mutex_ptr(aTHXo)) +#undef PL_sub_generation +#define PL_sub_generation (*Perl_Isub_generation_ptr(aTHXo)) +#undef PL_sublex_info +#define PL_sublex_info (*Perl_Isublex_info_ptr(aTHXo)) +#undef PL_subline +#define PL_subline (*Perl_Isubline_ptr(aTHXo)) +#undef PL_subname +#define PL_subname (*Perl_Isubname_ptr(aTHXo)) +#undef PL_sv_arenaroot +#define PL_sv_arenaroot (*Perl_Isv_arenaroot_ptr(aTHXo)) +#undef PL_sv_count +#define PL_sv_count (*Perl_Isv_count_ptr(aTHXo)) +#undef PL_sv_mutex +#define PL_sv_mutex (*Perl_Isv_mutex_ptr(aTHXo)) +#undef PL_sv_no +#define PL_sv_no (*Perl_Isv_no_ptr(aTHXo)) +#undef PL_sv_objcount +#define PL_sv_objcount (*Perl_Isv_objcount_ptr(aTHXo)) +#undef PL_sv_root +#define PL_sv_root (*Perl_Isv_root_ptr(aTHXo)) +#undef PL_sv_undef +#define PL_sv_undef (*Perl_Isv_undef_ptr(aTHXo)) +#undef PL_sv_yes +#define PL_sv_yes (*Perl_Isv_yes_ptr(aTHXo)) +#undef PL_svref_mutex +#define PL_svref_mutex (*Perl_Isvref_mutex_ptr(aTHXo)) +#undef PL_sys_intern +#define PL_sys_intern (*Perl_Isys_intern_ptr(aTHXo)) +#undef PL_tainting +#define PL_tainting (*Perl_Itainting_ptr(aTHXo)) +#undef PL_thr_key +#define PL_thr_key (*Perl_Ithr_key_ptr(aTHXo)) +#undef PL_threadnum +#define PL_threadnum (*Perl_Ithreadnum_ptr(aTHXo)) +#undef PL_threads_mutex +#define PL_threads_mutex (*Perl_Ithreads_mutex_ptr(aTHXo)) +#undef PL_threadsv_names +#define PL_threadsv_names (*Perl_Ithreadsv_names_ptr(aTHXo)) +#undef PL_thrsv +#define PL_thrsv (*Perl_Ithrsv_ptr(aTHXo)) +#undef PL_tokenbuf +#define PL_tokenbuf (*Perl_Itokenbuf_ptr(aTHXo)) +#undef PL_uid +#define PL_uid (*Perl_Iuid_ptr(aTHXo)) +#undef PL_unsafe +#define PL_unsafe (*Perl_Iunsafe_ptr(aTHXo)) +#undef PL_utf8_alnum +#define PL_utf8_alnum (*Perl_Iutf8_alnum_ptr(aTHXo)) +#undef PL_utf8_alnumc +#define PL_utf8_alnumc (*Perl_Iutf8_alnumc_ptr(aTHXo)) +#undef PL_utf8_alpha +#define PL_utf8_alpha (*Perl_Iutf8_alpha_ptr(aTHXo)) +#undef PL_utf8_ascii +#define PL_utf8_ascii (*Perl_Iutf8_ascii_ptr(aTHXo)) +#undef PL_utf8_cntrl +#define PL_utf8_cntrl (*Perl_Iutf8_cntrl_ptr(aTHXo)) +#undef PL_utf8_digit +#define PL_utf8_digit (*Perl_Iutf8_digit_ptr(aTHXo)) +#undef PL_utf8_graph +#define PL_utf8_graph (*Perl_Iutf8_graph_ptr(aTHXo)) +#undef PL_utf8_lower +#define PL_utf8_lower (*Perl_Iutf8_lower_ptr(aTHXo)) +#undef PL_utf8_mark +#define PL_utf8_mark (*Perl_Iutf8_mark_ptr(aTHXo)) +#undef PL_utf8_print +#define PL_utf8_print (*Perl_Iutf8_print_ptr(aTHXo)) +#undef PL_utf8_punct +#define PL_utf8_punct (*Perl_Iutf8_punct_ptr(aTHXo)) +#undef PL_utf8_space +#define PL_utf8_space (*Perl_Iutf8_space_ptr(aTHXo)) +#undef PL_utf8_tolower +#define PL_utf8_tolower (*Perl_Iutf8_tolower_ptr(aTHXo)) +#undef PL_utf8_totitle +#define PL_utf8_totitle (*Perl_Iutf8_totitle_ptr(aTHXo)) +#undef PL_utf8_toupper +#define PL_utf8_toupper (*Perl_Iutf8_toupper_ptr(aTHXo)) +#undef PL_utf8_upper +#define PL_utf8_upper (*Perl_Iutf8_upper_ptr(aTHXo)) +#undef PL_utf8_xdigit +#define PL_utf8_xdigit (*Perl_Iutf8_xdigit_ptr(aTHXo)) +#undef PL_uudmap +#define PL_uudmap (*Perl_Iuudmap_ptr(aTHXo)) +#undef PL_warnhook +#define PL_warnhook (*Perl_Iwarnhook_ptr(aTHXo)) +#undef PL_xiv_arenaroot +#define PL_xiv_arenaroot (*Perl_Ixiv_arenaroot_ptr(aTHXo)) +#undef PL_xiv_root +#define PL_xiv_root (*Perl_Ixiv_root_ptr(aTHXo)) +#undef PL_xnv_root +#define PL_xnv_root (*Perl_Ixnv_root_ptr(aTHXo)) +#undef PL_xpv_root +#define PL_xpv_root (*Perl_Ixpv_root_ptr(aTHXo)) +#undef PL_xpvav_root +#define PL_xpvav_root (*Perl_Ixpvav_root_ptr(aTHXo)) +#undef PL_xpvbm_root +#define PL_xpvbm_root (*Perl_Ixpvbm_root_ptr(aTHXo)) +#undef PL_xpvcv_root +#define PL_xpvcv_root (*Perl_Ixpvcv_root_ptr(aTHXo)) +#undef PL_xpvhv_root +#define PL_xpvhv_root (*Perl_Ixpvhv_root_ptr(aTHXo)) +#undef PL_xpviv_root +#define PL_xpviv_root (*Perl_Ixpviv_root_ptr(aTHXo)) +#undef PL_xpvlv_root +#define PL_xpvlv_root (*Perl_Ixpvlv_root_ptr(aTHXo)) +#undef PL_xpvmg_root +#define PL_xpvmg_root (*Perl_Ixpvmg_root_ptr(aTHXo)) +#undef PL_xpvnv_root +#define PL_xpvnv_root (*Perl_Ixpvnv_root_ptr(aTHXo)) +#undef PL_xrv_root +#define PL_xrv_root (*Perl_Ixrv_root_ptr(aTHXo)) +#undef PL_yychar +#define PL_yychar (*Perl_Iyychar_ptr(aTHXo)) +#undef PL_yydebug +#define PL_yydebug (*Perl_Iyydebug_ptr(aTHXo)) +#undef PL_yyerrflag +#define PL_yyerrflag (*Perl_Iyyerrflag_ptr(aTHXo)) +#undef PL_yylval +#define PL_yylval (*Perl_Iyylval_ptr(aTHXo)) +#undef PL_yynerrs +#define PL_yynerrs (*Perl_Iyynerrs_ptr(aTHXo)) +#undef PL_yyval +#define PL_yyval (*Perl_Iyyval_ptr(aTHXo)) +#undef PL_Sv +#define PL_Sv (*Perl_TSv_ptr(aTHXo)) +#undef PL_Xpv +#define PL_Xpv (*Perl_TXpv_ptr(aTHXo)) +#undef PL_av_fetch_sv +#define PL_av_fetch_sv (*Perl_Tav_fetch_sv_ptr(aTHXo)) +#undef PL_bodytarget +#define PL_bodytarget (*Perl_Tbodytarget_ptr(aTHXo)) +#undef PL_bostr +#define PL_bostr (*Perl_Tbostr_ptr(aTHXo)) +#undef PL_chopset +#define PL_chopset (*Perl_Tchopset_ptr(aTHXo)) +#undef PL_colors +#define PL_colors (*Perl_Tcolors_ptr(aTHXo)) +#undef PL_colorset +#define PL_colorset (*Perl_Tcolorset_ptr(aTHXo)) +#undef PL_curcop +#define PL_curcop (*Perl_Tcurcop_ptr(aTHXo)) +#undef PL_curpad +#define PL_curpad (*Perl_Tcurpad_ptr(aTHXo)) +#undef PL_curpm +#define PL_curpm (*Perl_Tcurpm_ptr(aTHXo)) +#undef PL_curstack +#define PL_curstack (*Perl_Tcurstack_ptr(aTHXo)) +#undef PL_curstackinfo +#define PL_curstackinfo (*Perl_Tcurstackinfo_ptr(aTHXo)) +#undef PL_curstash +#define PL_curstash (*Perl_Tcurstash_ptr(aTHXo)) +#undef PL_defoutgv +#define PL_defoutgv (*Perl_Tdefoutgv_ptr(aTHXo)) +#undef PL_defstash +#define PL_defstash (*Perl_Tdefstash_ptr(aTHXo)) +#undef PL_delaymagic +#define PL_delaymagic (*Perl_Tdelaymagic_ptr(aTHXo)) +#undef PL_dirty +#define PL_dirty (*Perl_Tdirty_ptr(aTHXo)) +#undef PL_dumpindent +#define PL_dumpindent (*Perl_Tdumpindent_ptr(aTHXo)) +#undef PL_efloatbuf +#define PL_efloatbuf (*Perl_Tefloatbuf_ptr(aTHXo)) +#undef PL_efloatsize +#define PL_efloatsize (*Perl_Tefloatsize_ptr(aTHXo)) +#undef PL_errors +#define PL_errors (*Perl_Terrors_ptr(aTHXo)) +#undef PL_extralen +#define PL_extralen (*Perl_Textralen_ptr(aTHXo)) +#undef PL_firstgv +#define PL_firstgv (*Perl_Tfirstgv_ptr(aTHXo)) +#undef PL_formtarget +#define PL_formtarget (*Perl_Tformtarget_ptr(aTHXo)) +#undef PL_hv_fetch_ent_mh +#define PL_hv_fetch_ent_mh (*Perl_Thv_fetch_ent_mh_ptr(aTHXo)) +#undef PL_hv_fetch_sv +#define PL_hv_fetch_sv (*Perl_Thv_fetch_sv_ptr(aTHXo)) +#undef PL_in_eval +#define PL_in_eval (*Perl_Tin_eval_ptr(aTHXo)) +#undef PL_last_in_gv +#define PL_last_in_gv (*Perl_Tlast_in_gv_ptr(aTHXo)) +#undef PL_lastgotoprobe +#define PL_lastgotoprobe (*Perl_Tlastgotoprobe_ptr(aTHXo)) +#undef PL_lastscream +#define PL_lastscream (*Perl_Tlastscream_ptr(aTHXo)) +#undef PL_localizing +#define PL_localizing (*Perl_Tlocalizing_ptr(aTHXo)) +#undef PL_mainstack +#define PL_mainstack (*Perl_Tmainstack_ptr(aTHXo)) +#undef PL_markstack +#define PL_markstack (*Perl_Tmarkstack_ptr(aTHXo)) +#undef PL_markstack_max +#define PL_markstack_max (*Perl_Tmarkstack_max_ptr(aTHXo)) +#undef PL_markstack_ptr +#define PL_markstack_ptr (*Perl_Tmarkstack_ptr_ptr(aTHXo)) +#undef PL_maxscream +#define PL_maxscream (*Perl_Tmaxscream_ptr(aTHXo)) +#undef PL_modcount +#define PL_modcount (*Perl_Tmodcount_ptr(aTHXo)) +#undef PL_na +#define PL_na (*Perl_Tna_ptr(aTHXo)) +#undef PL_nrs +#define PL_nrs (*Perl_Tnrs_ptr(aTHXo)) +#undef PL_ofs +#define PL_ofs (*Perl_Tofs_ptr(aTHXo)) +#undef PL_ofslen +#define PL_ofslen (*Perl_Tofslen_ptr(aTHXo)) +#undef PL_op +#define PL_op (*Perl_Top_ptr(aTHXo)) +#undef PL_opsave +#define PL_opsave (*Perl_Topsave_ptr(aTHXo)) +#undef PL_protect +#define PL_protect (*Perl_Tprotect_ptr(aTHXo)) +#undef PL_reg_call_cc +#define PL_reg_call_cc (*Perl_Treg_call_cc_ptr(aTHXo)) +#undef PL_reg_curpm +#define PL_reg_curpm (*Perl_Treg_curpm_ptr(aTHXo)) +#undef PL_reg_eval_set +#define PL_reg_eval_set (*Perl_Treg_eval_set_ptr(aTHXo)) +#undef PL_reg_flags +#define PL_reg_flags (*Perl_Treg_flags_ptr(aTHXo)) +#undef PL_reg_ganch +#define PL_reg_ganch (*Perl_Treg_ganch_ptr(aTHXo)) +#undef PL_reg_leftiter +#define PL_reg_leftiter (*Perl_Treg_leftiter_ptr(aTHXo)) +#undef PL_reg_magic +#define PL_reg_magic (*Perl_Treg_magic_ptr(aTHXo)) +#undef PL_reg_maxiter +#define PL_reg_maxiter (*Perl_Treg_maxiter_ptr(aTHXo)) +#undef PL_reg_oldcurpm +#define PL_reg_oldcurpm (*Perl_Treg_oldcurpm_ptr(aTHXo)) +#undef PL_reg_oldpos +#define PL_reg_oldpos (*Perl_Treg_oldpos_ptr(aTHXo)) +#undef PL_reg_oldsaved +#define PL_reg_oldsaved (*Perl_Treg_oldsaved_ptr(aTHXo)) +#undef PL_reg_oldsavedlen +#define PL_reg_oldsavedlen (*Perl_Treg_oldsavedlen_ptr(aTHXo)) +#undef PL_reg_poscache +#define PL_reg_poscache (*Perl_Treg_poscache_ptr(aTHXo)) +#undef PL_reg_poscache_size +#define PL_reg_poscache_size (*Perl_Treg_poscache_size_ptr(aTHXo)) +#undef PL_reg_re +#define PL_reg_re (*Perl_Treg_re_ptr(aTHXo)) +#undef PL_reg_start_tmp +#define PL_reg_start_tmp (*Perl_Treg_start_tmp_ptr(aTHXo)) +#undef PL_reg_start_tmpl +#define PL_reg_start_tmpl (*Perl_Treg_start_tmpl_ptr(aTHXo)) +#undef PL_reg_starttry +#define PL_reg_starttry (*Perl_Treg_starttry_ptr(aTHXo)) +#undef PL_reg_sv +#define PL_reg_sv (*Perl_Treg_sv_ptr(aTHXo)) +#undef PL_reg_whilem_seen +#define PL_reg_whilem_seen (*Perl_Treg_whilem_seen_ptr(aTHXo)) +#undef PL_regbol +#define PL_regbol (*Perl_Tregbol_ptr(aTHXo)) +#undef PL_regcc +#define PL_regcc (*Perl_Tregcc_ptr(aTHXo)) +#undef PL_regcode +#define PL_regcode (*Perl_Tregcode_ptr(aTHXo)) +#undef PL_regcomp_parse +#define PL_regcomp_parse (*Perl_Tregcomp_parse_ptr(aTHXo)) +#undef PL_regcomp_rx +#define PL_regcomp_rx (*Perl_Tregcomp_rx_ptr(aTHXo)) +#undef PL_regcompp +#define PL_regcompp (*Perl_Tregcompp_ptr(aTHXo)) +#undef PL_regdata +#define PL_regdata (*Perl_Tregdata_ptr(aTHXo)) +#undef PL_regdummy +#define PL_regdummy (*Perl_Tregdummy_ptr(aTHXo)) +#undef PL_regendp +#define PL_regendp (*Perl_Tregendp_ptr(aTHXo)) +#undef PL_regeol +#define PL_regeol (*Perl_Tregeol_ptr(aTHXo)) +#undef PL_regexecp +#define PL_regexecp (*Perl_Tregexecp_ptr(aTHXo)) +#undef PL_regflags +#define PL_regflags (*Perl_Tregflags_ptr(aTHXo)) +#undef PL_regfree +#define PL_regfree (*Perl_Tregfree_ptr(aTHXo)) +#undef PL_regindent +#define PL_regindent (*Perl_Tregindent_ptr(aTHXo)) +#undef PL_reginput +#define PL_reginput (*Perl_Treginput_ptr(aTHXo)) +#undef PL_regint_start +#define PL_regint_start (*Perl_Tregint_start_ptr(aTHXo)) +#undef PL_regint_string +#define PL_regint_string (*Perl_Tregint_string_ptr(aTHXo)) +#undef PL_reginterp_cnt +#define PL_reginterp_cnt (*Perl_Treginterp_cnt_ptr(aTHXo)) +#undef PL_reglastparen +#define PL_reglastparen (*Perl_Treglastparen_ptr(aTHXo)) +#undef PL_regnarrate +#define PL_regnarrate (*Perl_Tregnarrate_ptr(aTHXo)) +#undef PL_regnaughty +#define PL_regnaughty (*Perl_Tregnaughty_ptr(aTHXo)) +#undef PL_regnpar +#define PL_regnpar (*Perl_Tregnpar_ptr(aTHXo)) +#undef PL_regprecomp +#define PL_regprecomp (*Perl_Tregprecomp_ptr(aTHXo)) +#undef PL_regprev +#define PL_regprev (*Perl_Tregprev_ptr(aTHXo)) +#undef PL_regprogram +#define PL_regprogram (*Perl_Tregprogram_ptr(aTHXo)) +#undef PL_regsawback +#define PL_regsawback (*Perl_Tregsawback_ptr(aTHXo)) +#undef PL_regseen +#define PL_regseen (*Perl_Tregseen_ptr(aTHXo)) +#undef PL_regsize +#define PL_regsize (*Perl_Tregsize_ptr(aTHXo)) +#undef PL_regstartp +#define PL_regstartp (*Perl_Tregstartp_ptr(aTHXo)) +#undef PL_regtill +#define PL_regtill (*Perl_Tregtill_ptr(aTHXo)) +#undef PL_regxend +#define PL_regxend (*Perl_Tregxend_ptr(aTHXo)) +#undef PL_restartop +#define PL_restartop (*Perl_Trestartop_ptr(aTHXo)) +#undef PL_retstack +#define PL_retstack (*Perl_Tretstack_ptr(aTHXo)) +#undef PL_retstack_ix +#define PL_retstack_ix (*Perl_Tretstack_ix_ptr(aTHXo)) +#undef PL_retstack_max +#define PL_retstack_max (*Perl_Tretstack_max_ptr(aTHXo)) +#undef PL_rs +#define PL_rs (*Perl_Trs_ptr(aTHXo)) +#undef PL_savestack +#define PL_savestack (*Perl_Tsavestack_ptr(aTHXo)) +#undef PL_savestack_ix +#define PL_savestack_ix (*Perl_Tsavestack_ix_ptr(aTHXo)) +#undef PL_savestack_max +#define PL_savestack_max (*Perl_Tsavestack_max_ptr(aTHXo)) +#undef PL_scopestack +#define PL_scopestack (*Perl_Tscopestack_ptr(aTHXo)) +#undef PL_scopestack_ix +#define PL_scopestack_ix (*Perl_Tscopestack_ix_ptr(aTHXo)) +#undef PL_scopestack_max +#define PL_scopestack_max (*Perl_Tscopestack_max_ptr(aTHXo)) +#undef PL_screamfirst +#define PL_screamfirst (*Perl_Tscreamfirst_ptr(aTHXo)) +#undef PL_screamnext +#define PL_screamnext (*Perl_Tscreamnext_ptr(aTHXo)) +#undef PL_secondgv +#define PL_secondgv (*Perl_Tsecondgv_ptr(aTHXo)) +#undef PL_seen_evals +#define PL_seen_evals (*Perl_Tseen_evals_ptr(aTHXo)) +#undef PL_seen_zerolen +#define PL_seen_zerolen (*Perl_Tseen_zerolen_ptr(aTHXo)) +#undef PL_sortcop +#define PL_sortcop (*Perl_Tsortcop_ptr(aTHXo)) +#undef PL_sortcxix +#define PL_sortcxix (*Perl_Tsortcxix_ptr(aTHXo)) +#undef PL_sortstash +#define PL_sortstash (*Perl_Tsortstash_ptr(aTHXo)) +#undef PL_stack_base +#define PL_stack_base (*Perl_Tstack_base_ptr(aTHXo)) +#undef PL_stack_max +#define PL_stack_max (*Perl_Tstack_max_ptr(aTHXo)) +#undef PL_stack_sp +#define PL_stack_sp (*Perl_Tstack_sp_ptr(aTHXo)) +#undef PL_start_env +#define PL_start_env (*Perl_Tstart_env_ptr(aTHXo)) +#undef PL_statbuf +#define PL_statbuf (*Perl_Tstatbuf_ptr(aTHXo)) +#undef PL_statcache +#define PL_statcache (*Perl_Tstatcache_ptr(aTHXo)) +#undef PL_statgv +#define PL_statgv (*Perl_Tstatgv_ptr(aTHXo)) +#undef PL_statname +#define PL_statname (*Perl_Tstatname_ptr(aTHXo)) +#undef PL_tainted +#define PL_tainted (*Perl_Ttainted_ptr(aTHXo)) +#undef PL_timesbuf +#define PL_timesbuf (*Perl_Ttimesbuf_ptr(aTHXo)) +#undef PL_tmps_floor +#define PL_tmps_floor (*Perl_Ttmps_floor_ptr(aTHXo)) +#undef PL_tmps_ix +#define PL_tmps_ix (*Perl_Ttmps_ix_ptr(aTHXo)) +#undef PL_tmps_max +#define PL_tmps_max (*Perl_Ttmps_max_ptr(aTHXo)) +#undef PL_tmps_stack +#define PL_tmps_stack (*Perl_Ttmps_stack_ptr(aTHXo)) +#undef PL_top_env +#define PL_top_env (*Perl_Ttop_env_ptr(aTHXo)) +#undef PL_toptarget +#define PL_toptarget (*Perl_Ttoptarget_ptr(aTHXo)) +#undef PL_watchaddr +#define PL_watchaddr (*Perl_Twatchaddr_ptr(aTHXo)) +#undef PL_watchok +#define PL_watchok (*Perl_Twatchok_ptr(aTHXo)) +#undef PL_No +#define PL_No (*Perl_GNo_ptr(NULL)) +#undef PL_Yes +#define PL_Yes (*Perl_GYes_ptr(NULL)) +#undef PL_curinterp +#define PL_curinterp (*Perl_Gcurinterp_ptr(NULL)) +#undef PL_do_undump +#define PL_do_undump (*Perl_Gdo_undump_ptr(NULL)) +#undef PL_hexdigit +#define PL_hexdigit (*Perl_Ghexdigit_ptr(NULL)) +#undef PL_malloc_mutex +#define PL_malloc_mutex (*Perl_Gmalloc_mutex_ptr(NULL)) +#undef PL_patleave +#define PL_patleave (*Perl_Gpatleave_ptr(NULL)) + +#endif /* !PERL_CORE */ +#endif /* PERL_OBJECT || MULTIPLICITY */ + +#endif /* __perlapi_h__ */ diff --git a/win32/Makefile b/win32/Makefile index c100d45..e9e4892 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -68,14 +68,14 @@ INST_ARCH = \$(ARCHNAME) # XXX WARNING! This option currently undergoing changes. May be broken. # # Beginnings of interpreter cloning/threads: still rather rough, fails -# tests. This should be enabled to get the fork() emulation. Do not -# enable unless you know what you're doing! +# tests. This should be enabled to get the fork() emulation. This needs +# one of USE_MULTI or USE_OBJECT enabled as well. # #USE_ITHREADS = define # # uncomment to enable the implicit "host" layer for all system calls -# made by perl. This is needed and auto-enabled by USE_OBJECT above. +# made by perl. This needs one of USE_MULTI or USE_OBJECT above. # This is also needed to get fork(). # #USE_IMP_SYS = define @@ -242,6 +242,15 @@ USE_IMP_SYS = undef USE_PERLCRT = undef !ENDIF +!IF "$(USE_IMP_SYS)$(USE_MULTI)$(USE_5005THREADS)$(USE_OBJECT)" == "defineundefundefundef" +USE_MULTI = define +!ENDIF + +!IF "$(USE_ITHREADS)$(USE_MULTI)$(USE_OBJECT)" == "defineundefundef" +USE_MULTI = define +USE_5005THREADS = undef +!ENDIF + !IF "$(USE_MULTI)$(USE_5005THREADS)$(USE_OBJECT)" != "undefundefundef" BUILDOPT = $(BUILDOPT) -DPERL_IMPLICIT_CONTEXT !ENDIF diff --git a/win32/makefile.mk b/win32/makefile.mk index e6ed176..75f6a5c 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -73,14 +73,14 @@ INST_ARCH *= \$(ARCHNAME) # XXX WARNING! This option currently undergoing changes. May be broken. # # Beginnings of interpreter cloning/threads: still rather rough, fails -# tests. This should be enabled to get the fork() emulation. Do not -# enable unless you know what you're doing! +# tests. This should be enabled to get the fork() emulation. This needs +# one of USE_MULTI or USE_OBJECT enabled as well. # #USE_ITHREADS *= define # # uncomment to enable the implicit "host" layer for all system calls -# made by perl. This is needed and auto-enabled by USE_OBJECT above. +# made by perl. This needs one of USE_MULTI or USE_OBJECT above. # This is also needed to get fork(). # #USE_IMP_SYS *= define @@ -249,6 +249,15 @@ USE_ITHREADS *= undef USE_IMP_SYS *= undef USE_PERLCRT *= undef +.IF "$(USE_IMP_SYS)$(USE_MULTI)$(USE_5005THREADS)$(USE_OBJECT)" == "defineundefundefundef" +USE_MULTI != define +.ENDIF + +.IF "$(USE_ITHREADS)$(USE_MULTI)$(USE_OBJECT)" == "defineundefundef" +USE_MULTI != define +USE_5005THREADS != undef +.ENDIF + .IF "$(USE_MULTI)$(USE_5005THREADS)$(USE_OBJECT)" != "undefundefundef" BUILDOPT += -DPERL_IMPLICIT_CONTEXT .ENDIF