1N/A/***********************************************/
1N/A/* Global only to current interpreter instance */
1N/A/***********************************************/
1N/A
1N/A/* Don't forget to re-run embed.pl to propagate changes! */
1N/A
1N/A/* New variables must be added to the very end for binary compatibility.
1N/A * XSUB.h provides wrapper functions via perlapi.h that make this
1N/A * irrelevant, but not all code may be expected to #include XSUB.h. */
1N/A
1N/A/* Don't forget to add your variable also to perl_clone()! */
1N/A
1N/A/* The 'I' prefix is only needed for vars that need appropriate #defines
1N/A * generated when built with or without MULTIPLICITY. It is also used
1N/A * to generate the appropriate export list for win32.
1N/A *
1N/A * When building without MULTIPLICITY, these variables will be truly global. */
1N/A
1N/A/* pseudo environmental stuff */
1N/APERLVAR(Iorigargc, int)
1N/APERLVAR(Iorigargv, char **)
1N/APERLVAR(Ienvgv, GV *)
1N/APERLVAR(Iincgv, GV *)
1N/APERLVAR(Ihintgv, GV *)
1N/APERLVAR(Iorigfilename, char *)
1N/APERLVAR(Idiehook, SV *)
1N/APERLVAR(Iwarnhook, SV *)
1N/A
1N/A/* switches */
1N/APERLVAR(Iminus_c, bool)
1N/APERLVAR(Ipatchlevel, SV *)
1N/APERLVAR(Ilocalpatches, char **)
1N/APERLVARI(Isplitstr, char *, " ")
1N/APERLVAR(Ipreprocess, bool)
1N/APERLVAR(Iminus_n, bool)
1N/APERLVAR(Iminus_p, bool)
1N/APERLVAR(Iminus_l, bool)
1N/APERLVAR(Iminus_a, bool)
1N/APERLVAR(Iminus_F, bool)
1N/APERLVAR(Idoswitches, bool)
1N/A
1N/A/*
1N/A=head1 Global Variables
1N/A
1N/A=for apidoc mn|bool|PL_dowarn
1N/A
1N/AThe C variable which corresponds to Perl's $^W warning variable.
1N/A
1N/A=cut
1N/A*/
1N/A
1N/APERLVAR(Idowarn, U8)
1N/APERLVAR(Iwidesyscalls, bool) /* unused since 5.8.1 */
1N/APERLVAR(Idoextract, bool)
1N/APERLVAR(Isawampersand, bool) /* must save all match strings */
1N/APERLVAR(Iunsafe, bool)
1N/APERLVAR(Iinplace, char *)
1N/APERLVAR(Ie_script, SV *)
1N/APERLVAR(Iperldb, U32)
1N/A
1N/A/* This value may be set when embedding for full cleanup */
1N/A/* 0=none, 1=full, 2=full with checks */
1N/APERLVARI(Iperl_destruct_level, int, 0)
1N/A
1N/A/* magical thingies */
1N/APERLVAR(Ibasetime, Time_t) /* $^T */
1N/APERLVAR(Iformfeed, SV *) /* $^L */
1N/A
1N/A
1N/APERLVARI(Imaxsysfd, I32, MAXSYSFD)
1N/A /* top fd to pass to subprocesses */
1N/APERLVAR(Imultiline, int) /* $*--do strings hold >1 line? */
1N/APERLVAR(Istatusvalue, I32) /* $? */
1N/APERLVAR(Iexit_flags, U8) /* was exit() unexpected, etc. */
1N/A#ifdef VMS
1N/APERLVAR(Istatusvalue_vms,U32)
1N/A#endif
1N/A
1N/A/* shortcuts to various I/O objects */
1N/APERLVAR(Istdingv, GV *)
1N/APERLVAR(Istderrgv, GV *)
1N/APERLVAR(Idefgv, GV *)
1N/APERLVAR(Iargvgv, GV *)
1N/APERLVAR(Iargvoutgv, GV *)
1N/APERLVAR(Iargvout_stack, AV *)
1N/A
1N/A/* shortcuts to regexp stuff */
1N/A/* this one needs to be moved to thrdvar.h and accessed via
1N/A * find_threadsv() when USE_5005THREADS */
1N/APERLVAR(Ireplgv, GV *)
1N/A
1N/A/* shortcuts to misc objects */
1N/APERLVAR(Ierrgv, GV *)
1N/A
1N/A/* shortcuts to debugging objects */
1N/APERLVAR(IDBgv, GV *)
1N/APERLVAR(IDBline, GV *)
1N/A
1N/A/*
1N/A=for apidoc mn|GV *|PL_DBsub
1N/AWhen Perl is run in debugging mode, with the B<-d> switch, this GV contains
1N/Athe SV which holds the name of the sub being debugged. This is the C
1N/Avariable which corresponds to Perl's $DB::sub variable. See
1N/AC<PL_DBsingle>.
1N/A
1N/A=for apidoc mn|SV *|PL_DBsingle
1N/AWhen Perl is run in debugging mode, with the B<-d> switch, this SV is a
1N/Aboolean which indicates whether subs are being single-stepped.
1N/ASingle-stepping is automatically turned on after every step. This is the C
1N/Avariable which corresponds to Perl's $DB::single variable. See
1N/AC<PL_DBsub>.
1N/A
1N/A=for apidoc mn|SV *|PL_DBtrace
1N/ATrace variable used when Perl is run in debugging mode, with the B<-d>
1N/Aswitch. This is the C variable which corresponds to Perl's $DB::trace
1N/Avariable. See C<PL_DBsingle>.
1N/A
1N/A=cut
1N/A*/
1N/A
1N/APERLVAR(IDBsub, GV *)
1N/APERLVAR(IDBsingle, SV *)
1N/APERLVAR(IDBtrace, SV *)
1N/APERLVAR(IDBsignal, SV *)
1N/APERLVAR(Ilineary, AV *) /* lines of script for debugger */
1N/APERLVAR(Idbargs, AV *) /* args to call listed by caller function */
1N/A
1N/A/* symbol tables */
1N/APERLVAR(Idebstash, HV *) /* symbol table for perldb package */
1N/APERLVAR(Iglobalstash, HV *) /* global keyword overrides imported here */
1N/APERLVAR(Icurstname, SV *) /* name of current package */
1N/APERLVAR(Ibeginav, AV *) /* names of BEGIN subroutines */
1N/APERLVAR(Iendav, AV *) /* names of END subroutines */
1N/APERLVAR(Icheckav, AV *) /* names of CHECK subroutines */
1N/APERLVAR(Iinitav, AV *) /* names of INIT subroutines */
1N/APERLVAR(Istrtab, HV *) /* shared string table */
1N/APERLVARI(Isub_generation,U32,1) /* incr to invalidate method cache */
1N/A
1N/A/* memory management */
1N/APERLVAR(Isv_count, I32) /* how many SV* are currently allocated */
1N/APERLVAR(Isv_objcount, I32) /* how many objects are currently allocated */
1N/APERLVAR(Isv_root, SV*) /* storage for SVs belonging to interp */
1N/APERLVAR(Isv_arenaroot, SV*) /* list of areas for garbage collection */
1N/A
1N/A/* funky return mechanisms */
1N/APERLVAR(Iforkprocess, int) /* so do_open |- can return proc# */
1N/A
1N/A/* subprocess state */
1N/APERLVAR(Ifdpid, AV *) /* keep fd-to-pid mappings for my_popen */
1N/A
1N/A/* internal state */
1N/APERLVAR(Itainting, bool) /* doing taint checks */
1N/APERLVARI(Iop_mask, char *, NULL) /* masked operations for safe evals */
1N/A
1N/A/* current interpreter roots */
1N/APERLVAR(Imain_cv, CV *)
1N/APERLVAR(Imain_root, OP *)
1N/APERLVAR(Imain_start, OP *)
1N/APERLVAR(Ieval_root, OP *)
1N/APERLVAR(Ieval_start, OP *)
1N/A
1N/A/* runtime control stuff */
1N/APERLVARI(Icurcopdb, COP *, NULL)
1N/APERLVARI(Icopline, line_t, NOLINE)
1N/A
1N/A/* statics moved here for shared library purposes */
1N/APERLVAR(Ifilemode, int) /* so nextargv() can preserve mode */
1N/APERLVAR(Ilastfd, int) /* what to preserve mode on */
1N/APERLVAR(Ioldname, char *) /* what to preserve mode on */
1N/APERLVAR(IArgv, char **) /* stuff to free from do_aexec, vfork safe */
1N/APERLVAR(ICmd, char *) /* stuff to free from do_aexec, vfork safe */
1N/APERLVARI(Igensym, I32, 0) /* next symbol for getsym() to define */
1N/APERLVAR(Ipreambled, bool)
1N/APERLVAR(Ipreambleav, AV *)
1N/APERLVARI(Ilaststatval, int, -1)
1N/APERLVARI(Ilaststype, I32, OP_STAT)
1N/APERLVAR(Imess_sv, SV *)
1N/A
1N/A/* XXX shouldn't these be per-thread? --GSAR */
1N/APERLVAR(Iors_sv, SV *) /* output record separator $\ */
1N/APERLVAR(Iofmt, char *) /* output format for numbers $# */
1N/A
1N/A/* interpreter atexit processing */
1N/APERLVARI(Iexitlist, PerlExitListEntry *, NULL)
1N/A /* list of exit functions */
1N/APERLVARI(Iexitlistlen, I32, 0) /* length of same */
1N/A
1N/A/*
1N/A=for apidoc Amn|HV*|PL_modglobal
1N/A
1N/AC<PL_modglobal> is a general purpose, interpreter global HV for use by
1N/Aextensions that need to keep information on a per-interpreter basis.
1N/AIn a pinch, it can also be used as a symbol table for extensions
1N/Ato share data among each other. It is a good idea to use keys
1N/Aprefixed by the package name of the extension that owns the data.
1N/A
1N/A=cut
1N/A*/
1N/A
1N/APERLVAR(Imodglobal, HV *) /* per-interp module data */
1N/A
1N/A/* these used to be in global before 5.004_68 */
1N/APERLVARI(Iprofiledata, U32 *, NULL) /* table of ops, counts */
1N/APERLVARI(Irsfp, PerlIO * VOL, Nullfp) /* current source file pointer */
1N/APERLVARI(Irsfp_filters, AV *, Nullav) /* keeps active source filters */
1N/A
1N/APERLVAR(Icompiling, COP) /* compiling/done executing marker */
1N/A
1N/APERLVAR(Icompcv, CV *) /* currently compiling subroutine */
1N/APERLVAR(IBINCOMPAT0, AV *) /* filler for binary compatibility */
1N/APERLVAR(Icomppad_name, AV *) /* variable names for "my" variables */
1N/APERLVAR(Icomppad_name_fill, I32) /* last "introduced" variable offset */
1N/APERLVAR(Icomppad_name_floor, I32) /* start of vars in innermost block */
1N/A
1N/A#ifdef HAVE_INTERP_INTERN
1N/APERLVAR(Isys_intern, struct interp_intern)
1N/A /* platform internals */
1N/A#endif
1N/A
1N/A/* more statics moved here */
1N/APERLVARI(Igeneration, int, 100) /* from op.c */
1N/APERLVAR(IDBcv, CV *) /* from perl.c */
1N/A
1N/APERLVARI(Iin_clean_objs,bool, FALSE) /* from sv.c */
1N/APERLVARI(Iin_clean_all, bool, FALSE) /* from sv.c */
1N/A
1N/APERLVAR(Ilinestart, char *) /* beg. of most recently read line */
1N/APERLVAR(Ipending_ident, char) /* pending identifier lookup */
1N/APERLVAR(Isublex_info, SUBLEXINFO) /* from toke.c */
1N/A
1N/A#ifdef USE_5005THREADS
1N/APERLVAR(Ithrsv, SV *) /* struct perl_thread for main thread */
1N/APERLVARI(Ithreadnum, U32, 0) /* incremented each thread creation */
1N/APERLVAR(Istrtab_mutex, perl_mutex) /* Mutex for string table access */
1N/A#endif /* USE_5005THREADS */
1N/A
1N/APERLVAR(Iuid, Uid_t) /* current real user id */
1N/APERLVAR(Ieuid, Uid_t) /* current effective user id */
1N/APERLVAR(Igid, Gid_t) /* current real group id */
1N/APERLVAR(Iegid, Gid_t) /* current effective group id */
1N/APERLVAR(Inomemok, bool) /* let malloc context handle nomem */
1N/APERLVARI(Ian, U32, 0) /* malloc sequence number */
1N/APERLVARI(Icop_seqmax, U32, 0) /* statement sequence number */
1N/APERLVARI(Iop_seqmax, U16, 0) /* op sequence number */
1N/APERLVARI(Ievalseq, U32, 0) /* eval sequence number */
1N/APERLVAR(Iorigenviron, char **)
1N/APERLVAR(Iorigalen, U32)
1N/APERLVAR(Ipidstatus, HV *) /* pid-to-status mappings for waitpid */
1N/APERLVARI(Imaxo, int, MAXO) /* maximum number of ops */
1N/APERLVAR(Iosname, char *) /* operating system */
1N/A
1N/A/* For binary compatibility with older versions only */
1N/APERLVARI(Ish_path_compat, char *, SH_PATH)/* full path of shell */
1N/A
1N/APERLVAR(Isighandlerp, Sighandler_t)
1N/A
1N/APERLVAR(Ixiv_arenaroot, XPV*) /* list of allocated xiv areas */
1N/APERLVAR(Ixiv_root, IV *) /* free xiv list */
1N/APERLVAR(Ixnv_root, NV *) /* free xnv list */
1N/APERLVAR(Ixrv_root, XRV *) /* free xrv list */
1N/APERLVAR(Ixpv_root, XPV *) /* free xpv list */
1N/APERLVAR(Ixpviv_root, XPVIV *) /* free xpviv list */
1N/APERLVAR(Ixpvnv_root, XPVNV *) /* free xpvnv list */
1N/APERLVAR(Ixpvcv_root, XPVCV *) /* free xpvcv list */
1N/APERLVAR(Ixpvav_root, XPVAV *) /* free xpvav list */
1N/APERLVAR(Ixpvhv_root, XPVHV *) /* free xpvhv list */
1N/APERLVAR(Ixpvmg_root, XPVMG *) /* free xpvmg list */
1N/APERLVAR(Ixpvlv_root, XPVLV *) /* free xpvlv list */
1N/APERLVAR(Ixpvbm_root, XPVBM *) /* free xpvbm list */
1N/APERLVAR(Ihe_root, HE *) /* free he list */
1N/APERLVAR(Inice_chunk, char *) /* a nice chunk of memory to reuse */
1N/APERLVAR(Inice_chunk_size, U32) /* how nice the chunk of memory is */
1N/A
1N/APERLVARI(Irunops, runops_proc_t, MEMBER_TO_FPTR(RUNOPS_DEFAULT))
1N/A
1N/APERLVARA(Itokenbuf,256, char)
1N/A
1N/A/*
1N/A=for apidoc Amn|SV|PL_sv_undef
1N/AThis is the C<undef> SV. Always refer to this as C<&PL_sv_undef>.
1N/A
1N/A=for apidoc Amn|SV|PL_sv_no
1N/AThis is the C<false> SV. See C<PL_sv_yes>. Always refer to this as
1N/AC<&PL_sv_no>.
1N/A
1N/A=for apidoc Amn|SV|PL_sv_yes
1N/AThis is the C<true> SV. See C<PL_sv_no>. Always refer to this as
1N/AC<&PL_sv_yes>.
1N/A
1N/A=cut
1N/A*/
1N/A
1N/APERLVAR(Isv_undef, SV)
1N/APERLVAR(Isv_no, SV)
1N/APERLVAR(Isv_yes, SV)
1N/A
1N/A#ifdef CSH
1N/APERLVARI(Icshname, char *, CSH)
1N/APERLVARI(Icshlen, I32, 0)
1N/A#endif
1N/A
1N/APERLVAR(Ilex_state, U32) /* next token is determined */
1N/APERLVAR(Ilex_defer, U32) /* state after determined token */
1N/APERLVAR(Ilex_expect, int) /* expect after determined token */
1N/APERLVAR(Ilex_brackets, I32) /* bracket count */
1N/APERLVAR(Ilex_formbrack, I32) /* bracket count at outer format level */
1N/APERLVAR(Ilex_casemods, I32) /* casemod count */
1N/APERLVAR(Ilex_dojoin, I32) /* doing an array interpolation */
1N/APERLVAR(Ilex_starts, I32) /* how many interps done on level */
1N/APERLVAR(Ilex_stuff, SV *) /* runtime pattern from m// or s/// */
1N/APERLVAR(Ilex_repl, SV *) /* runtime replacement from s/// */
1N/APERLVAR(Ilex_op, OP *) /* extra info to pass back on op */
1N/APERLVAR(Ilex_inpat, OP *) /* in pattern $) and $| are special */
1N/APERLVAR(Ilex_inwhat, I32) /* what kind of quoting are we in */
1N/APERLVAR(Ilex_brackstack,char *) /* what kind of brackets to pop */
1N/APERLVAR(Ilex_casestack, char *) /* what kind of case mods in effect */
1N/A
1N/A/* What we know when we're in LEX_KNOWNEXT state. */
1N/APERLVARA(Inextval,5, YYSTYPE) /* value of next token, if any */
1N/APERLVARA(Inexttype,5, I32) /* type of next token */
1N/APERLVAR(Inexttoke, I32)
1N/A
1N/APERLVAR(Ilinestr, SV *)
1N/APERLVAR(Ibufptr, char *)
1N/APERLVAR(Ioldbufptr, char *)
1N/APERLVAR(Ioldoldbufptr, char *)
1N/APERLVAR(Ibufend, char *)
1N/APERLVARI(Iexpect,int, XSTATE) /* how to interpret ambiguous tokens */
1N/A
1N/APERLVAR(Imulti_start, I32) /* 1st line of multi-line string */
1N/APERLVAR(Imulti_end, I32) /* last line of multi-line string */
1N/APERLVAR(Imulti_open, I32) /* delimiter of said string */
1N/APERLVAR(Imulti_close, I32) /* delimiter of said string */
1N/A
1N/APERLVAR(Ierror_count, I32) /* how many errors so far, max 10 */
1N/APERLVAR(Isubline, I32) /* line this subroutine began on */
1N/APERLVAR(Isubname, SV *) /* name of current subroutine */
1N/A
1N/APERLVAR(Imin_intro_pending, I32) /* start of vars to introduce */
1N/APERLVAR(Imax_intro_pending, I32) /* end of vars to introduce */
1N/APERLVAR(Ipadix, I32) /* max used index in current "register" pad */
1N/APERLVAR(Ipadix_floor, I32) /* how low may inner block reset padix */
1N/APERLVAR(Ipad_reset_pending, I32) /* reset pad on next attempted alloc */
1N/A
1N/APERLVAR(Ilast_uni, char *) /* position of last named-unary op */
1N/APERLVAR(Ilast_lop, char *) /* position of last list operator */
1N/APERLVAR(Ilast_lop_op, OPCODE) /* last list operator */
1N/APERLVAR(Iin_my, I32) /* we're compiling a "my" (or "our") declaration */
1N/APERLVAR(Iin_my_stash, HV *) /* declared class of this "my" declaration */
1N/A#ifdef FCRYPT
1N/APERLVARI(Icryptseen, bool, FALSE) /* has fast crypt() been initialized? */
1N/A#endif
1N/A
1N/APERLVAR(Ihints, U32) /* pragma-tic compile-time flags */
1N/A
1N/APERLVAR(Idebug, VOL U32) /* flags given to -D switch */
1N/A
1N/APERLVARI(Iamagic_generation, long, 0)
1N/A
1N/A#ifdef USE_LOCALE_COLLATE
1N/APERLVARI(Icollation_ix, U32, 0) /* Collation generation index */
1N/APERLVAR(Icollation_name,char *) /* Name of current collation */
1N/APERLVARI(Icollation_standard, bool, TRUE)
1N/A /* Assume simple collation */
1N/APERLVAR(Icollxfrm_base, Size_t) /* Basic overhead in *xfrm() */
1N/APERLVARI(Icollxfrm_mult,Size_t, 2) /* Expansion factor in *xfrm() */
1N/A#endif /* USE_LOCALE_COLLATE */
1N/A
1N/A#ifdef USE_LOCALE_NUMERIC
1N/A
1N/APERLVAR(Inumeric_name, char *) /* Name of current numeric locale */
1N/APERLVARI(Inumeric_standard, bool, TRUE)
1N/A /* Assume simple numerics */
1N/APERLVARI(Inumeric_local, bool, TRUE)
1N/A /* Assume local numerics */
1N/A
1N/APERLVAR(Inumeric_compat1, char)
1N/A /* Used to be numeric_radix */
1N/A#endif /* !USE_LOCALE_NUMERIC */
1N/A
1N/A/* utf8 character classes */
1N/APERLVAR(Iutf8_alnum, SV *)
1N/APERLVAR(Iutf8_alnumc, SV *)
1N/APERLVAR(Iutf8_ascii, SV *)
1N/APERLVAR(Iutf8_alpha, SV *)
1N/APERLVAR(Iutf8_space, SV *)
1N/APERLVAR(Iutf8_cntrl, SV *)
1N/APERLVAR(Iutf8_graph, SV *)
1N/APERLVAR(Iutf8_digit, SV *)
1N/APERLVAR(Iutf8_upper, SV *)
1N/APERLVAR(Iutf8_lower, SV *)
1N/APERLVAR(Iutf8_print, SV *)
1N/APERLVAR(Iutf8_punct, SV *)
1N/APERLVAR(Iutf8_xdigit, SV *)
1N/APERLVAR(Iutf8_mark, SV *)
1N/APERLVAR(Iutf8_toupper, SV *)
1N/APERLVAR(Iutf8_totitle, SV *)
1N/APERLVAR(Iutf8_tolower, SV *)
1N/APERLVAR(Iutf8_tofold, SV *)
1N/APERLVAR(Ilast_swash_hv, HV *)
1N/APERLVAR(Ilast_swash_klen, U32)
1N/APERLVARA(Ilast_swash_key,10, U8)
1N/APERLVAR(Ilast_swash_tmps, U8 *)
1N/APERLVAR(Ilast_swash_slen, STRLEN)
1N/A
1N/A/* perly.c globals */
1N/APERLVAR(Iyydebug, int)
1N/APERLVAR(Iyynerrs, int)
1N/APERLVAR(Iyyerrflag, int)
1N/APERLVAR(Iyychar, int)
1N/APERLVAR(Iyyval, YYSTYPE)
1N/APERLVAR(Iyylval, YYSTYPE)
1N/A
1N/APERLVARI(Iglob_index, int, 0)
1N/APERLVAR(Isrand_called, bool)
1N/APERLVARA(Iuudmap,256, char)
1N/APERLVAR(Ibitcount, char *)
1N/A
1N/A#ifdef USE_5005THREADS
1N/APERLVAR(Isv_mutex, perl_mutex) /* Mutex for allocating SVs in sv.c */
1N/APERLVAR(Ieval_mutex, perl_mutex) /* Mutex for doeval */
1N/APERLVAR(Ieval_cond, perl_cond) /* Condition variable for doeval */
1N/APERLVAR(Ieval_owner, struct perl_thread *)
1N/A /* Owner thread for doeval */
1N/APERLVAR(Inthreads, int) /* Number of threads currently */
1N/APERLVAR(Ithreads_mutex, perl_mutex) /* Mutex for nthreads and thread list */
1N/APERLVAR(Inthreads_cond, perl_cond) /* Condition variable for nthreads */
1N/APERLVAR(Isvref_mutex, perl_mutex) /* Mutex for SvREFCNT_{inc,dec} */
1N/APERLVARI(Ithreadsv_names,char *, THREADSV_NAMES)
1N/A#ifdef FAKE_THREADS
1N/APERLVAR(Icurthr, struct perl_thread *)
1N/A /* Currently executing (fake) thread */
1N/A#endif
1N/A
1N/APERLVAR(Icred_mutex, perl_mutex) /* altered credentials in effect */
1N/A
1N/A#endif /* USE_5005THREADS */
1N/A
1N/APERLVAR(Ipsig_ptr, SV**)
1N/APERLVAR(Ipsig_name, SV**)
1N/A
1N/A#if defined(PERL_IMPLICIT_SYS)
1N/APERLVAR(IMem, struct IPerlMem*)
1N/APERLVAR(IMemShared, struct IPerlMem*)
1N/APERLVAR(IMemParse, struct IPerlMem*)
1N/APERLVAR(IEnv, struct IPerlEnv*)
1N/APERLVAR(IStdIO, struct IPerlStdIO*)
1N/APERLVAR(ILIO, struct IPerlLIO*)
1N/APERLVAR(IDir, struct IPerlDir*)
1N/APERLVAR(ISock, struct IPerlSock*)
1N/APERLVAR(IProc, struct IPerlProc*)
1N/A#endif
1N/A
1N/A#if defined(USE_ITHREADS)
1N/APERLVAR(Iptr_table, PTR_TBL_t*)
1N/A#endif
1N/APERLVARI(Ibeginav_save, AV*, Nullav) /* save BEGIN{}s when compiling */
1N/A
1N/A#ifdef USE_5005THREADS
1N/APERLVAR(Ifdpid_mutex, perl_mutex) /* mutex for fdpid array */
1N/APERLVAR(Isv_lock_mutex, perl_mutex) /* mutex for SvLOCK macro */
1N/A#endif
1N/A
1N/APERLVAR(Inullstash, HV *) /* illegal symbols end up here */
1N/A
1N/APERLVAR(Ixnv_arenaroot, XPV*) /* list of allocated xnv areas */
1N/APERLVAR(Ixrv_arenaroot, XPV*) /* list of allocated xrv areas */
1N/APERLVAR(Ixpv_arenaroot, XPV*) /* list of allocated xpv areas */
1N/APERLVAR(Ixpviv_arenaroot,XPVIV*) /* list of allocated xpviv areas */
1N/APERLVAR(Ixpvnv_arenaroot,XPVNV*) /* list of allocated xpvnv areas */
1N/APERLVAR(Ixpvcv_arenaroot,XPVCV*) /* list of allocated xpvcv areas */
1N/APERLVAR(Ixpvav_arenaroot,XPVAV*) /* list of allocated xpvav areas */
1N/APERLVAR(Ixpvhv_arenaroot,XPVHV*) /* list of allocated xpvhv areas */
1N/APERLVAR(Ixpvmg_arenaroot,XPVMG*) /* list of allocated xpvmg areas */
1N/APERLVAR(Ixpvlv_arenaroot,XPVLV*) /* list of allocated xpvlv areas */
1N/APERLVAR(Ixpvbm_arenaroot,XPVBM*) /* list of allocated xpvbm areas */
1N/APERLVAR(Ihe_arenaroot, XPV*) /* list of allocated he areas */
1N/A
1N/A /* 5.6.0 stopped here */
1N/A
1N/APERLVAR(Ipsig_pend, int *) /* per-signal "count" of pending */
1N/APERLVARI(Isig_pending, int,0) /* Number if highest signal pending */
1N/A
1N/A#ifdef USE_LOCALE_NUMERIC
1N/A
1N/APERLVAR(Inumeric_radix_sv, SV *) /* The radix separator if not '.' */
1N/A
1N/A#endif
1N/A
1N/A#if defined(USE_ITHREADS)
1N/APERLVAR(Iregex_pad, SV**) /* All regex objects */
1N/APERLVAR(Iregex_padav, AV*) /* All regex objects */
1N/A
1N/A#endif
1N/A
1N/A#ifdef USE_REENTRANT_API
1N/APERLVAR(Ireentrant_buffer, REENTR*) /* here we store the _r buffers */
1N/A#endif
1N/A
1N/APERLVARI(Isavebegin, bool, FALSE) /* save BEGINs for compiler */
1N/A
1N/APERLVAR(Icustom_op_names, HV*) /* Names of user defined ops */
1N/APERLVAR(Icustom_op_descs, HV*) /* Descriptions of user defined ops */
1N/A
1N/A#ifdef PERLIO_LAYERS
1N/APERLVARI(Iperlio, PerlIO *,NULL)
1N/APERLVARI(Iknown_layers, PerlIO_list_t *,NULL)
1N/APERLVARI(Idef_layerlist, PerlIO_list_t *,NULL)
1N/A#endif
1N/A
1N/APERLVARI(Iencoding, SV*, Nullsv) /* character encoding */
1N/A
1N/APERLVAR(Idebug_pad, struct perl_debug_pad) /* always needed because of the re extension */
1N/A
1N/APERLVAR(Itaint_warn, bool) /* taint warns instead of dying */
1N/A
1N/A#ifdef PL_OP_SLAB_ALLOC
1N/APERLVAR(IOpPtr,I32 **)
1N/APERLVARI(IOpSpace,I32,0)
1N/APERLVAR(IOpSlab,I32 *)
1N/A#endif
1N/A
1N/APERLVAR(Iutf8locale, bool) /* utf8 locale detected */
1N/A
1N/APERLVAR(Iutf8_idstart, SV *)
1N/APERLVAR(Iutf8_idcont, SV *)
1N/A
1N/APERLVAR(Isort_RealCmp, SVCOMPARE_t)
1N/A
1N/APERLVARI(Icheckav_save, AV*, Nullav) /* save CHECK{}s when compiling */
1N/A
1N/APERLVARI(Iclocktick, long, 0) /* this many times() ticks in a second */
1N/A
1N/APERLVARI(Iin_load_module, int, 0) /* to prevent recursions in PerlIO_find_layer */
1N/A
1N/APERLVAR(Iunicode, U32) /* Unicode features: $ENV{PERL_UNICODE} or -C */
1N/A
1N/APERLVAR(Isignals, U32) /* Using which pre-5.8 signals */
1N/A
1N/APERLVAR(Istashcache, HV *) /* Cache to speed up S_method_common */
1N/A
1N/APERLVAR(Ireentrant_retint, int) /* Integer return value from reentrant functions */
1N/A
1N/A/* Hooks to shared SVs and locks. */
1N/APERLVARI(Isharehook, share_proc_t, MEMBER_TO_FPTR(Perl_sv_nosharing))
1N/APERLVARI(Ilockhook, share_proc_t, MEMBER_TO_FPTR(Perl_sv_nolocking))
1N/APERLVARI(Iunlockhook, share_proc_t, MEMBER_TO_FPTR(Perl_sv_nounlocking))
1N/APERLVARI(Ithreadhook, thrhook_proc_t, MEMBER_TO_FPTR(Perl_nothreadhook))
1N/A
1N/A/* Force inclusion of both runops options */
1N/APERLVARI(Irunops_std, runops_proc_t, MEMBER_TO_FPTR(Perl_runops_standard))
1N/APERLVARI(Irunops_dbg, runops_proc_t, MEMBER_TO_FPTR(Perl_runops_debug))
1N/A
1N/A/* Stores the PPID */
1N/A#ifdef THREADS_HAVE_PIDS
1N/APERLVARI(Ippid, IV, 0)
1N/A#endif
1N/A
1N/APERLVARI(Ihash_seed, UV, 0) /* Hash initializer */
1N/A
1N/APERLVARI(Ihash_seed_set, bool, FALSE) /* Hash initialized? */
1N/A
1N/APERLVARI(Irehash_seed, UV, 0) /* 582 hash initializer */
1N/A
1N/APERLVARI(Irehash_seed_set, bool, FALSE) /* 582 hash initialized? */
1N/A
1N/A/* These two variables are needed to preserve 5.8.x bincompat because we can't
1N/A change function prototypes of two exported functions. Probably should be
1N/A taken out of blead soon, and relevant prototypes changed. */
1N/APERLVARI(Ifdscript, int, -1) /* fd for script */
1N/APERLVARI(Isuidscript, int, -1) /* fd for suid script */
1N/A/* New variables must be added to the very end, before this comment,
1N/A * for binary compatibility (the offsets of the old members must not change).
1N/A * (Don't forget to add your variable also to perl_clone()!)
1N/A * XSUB.h provides wrapper functions via perlapi.h that make this
1N/A * irrelevant, but not all code may be expected to #include XSUB.h.
1N/A */
1N/A