1N/A/***********************************************/ 1N/A/* Global only to current interpreter instance */ 1N/A/***********************************************/ 1N/A/* Don't forget to re-run embed.pl to propagate changes! */ 1N/A/* New variables must be added to the very end for binary compatibility. 1N/A * irrelevant, but not all code may be expected to #include XSUB.h. */ 1N/A/* Don't forget to add your variable also to perl_clone()! */ 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 * When building without MULTIPLICITY, these variables will be truly global. */ 1N/A/* pseudo environmental stuff */ 1N/A=head1 Global Variables 1N/A=for apidoc mn|bool|PL_dowarn 1N/AThe C variable which corresponds to Perl's $^W warning variable. 1N/A/* This value may be set when embedding for full cleanup */ 1N/A/* 0=none, 1=full, 2=full with checks */ 1N/A/* magical thingies */ 1N/A /* top fd to pass to subprocesses */ 1N/A/* shortcuts to various I/O objects */ 1N/A/* shortcuts to regexp stuff */ 1N/A * find_threadsv() when USE_5005THREADS */ 1N/A/* shortcuts to misc objects */ 1N/A/* shortcuts to debugging objects */ 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/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/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/* memory management */ 1N/A/* funky return mechanisms */ 1N/A/* subprocess state */ 1N/A/* current interpreter roots */ 1N/A/* runtime control stuff */ 1N/A/* statics moved here for shared library purposes */ 1N/A/* XXX shouldn't these be per-thread? --GSAR */ 1N/A/* interpreter atexit processing */ 1N/A /* list of exit functions */ 1N/A=for apidoc Amn|HV*|PL_modglobal 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/* these used to be in global before 5.004_68 */ 1N/A /* platform internals */ 1N/A/* more statics moved here */ 1N/A#
endif /* USE_5005THREADS */ 1N/A/* For binary compatibility with older versions only */ 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=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/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/A/* What we know when we're in LEX_KNOWNEXT state. */ 1N/A /* Assume simple collation */ 1N/A#
endif /* USE_LOCALE_COLLATE */ 1N/A /* Assume simple numerics */ 1N/A /* Assume local numerics */ 1N/A /* Used to be numeric_radix */ 1N/A#
endif /* !USE_LOCALE_NUMERIC */ 1N/A/* utf8 character classes */ 1N/A /* Owner thread for doeval */ 1N/A /* Currently executing (fake) thread */ 1N/A#
endif /* USE_5005THREADS */ 1N/A /* 5.6.0 stopped here */ 1N/A/* Hooks to shared SVs and locks. */ 1N/A/* Force inclusion of both runops options */ 1N/A/* Stores the PPID */ 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/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 * irrelevant, but not all code may be expected to #include XSUB.h.