By re-ordering declarations in interpvar.h and thrdvar.h, reduce the
[p5sagit/p5-mst-13.2.git] / intrpvar.h
1 /***********************************************/
2 /* Global only to current interpreter instance */
3 /***********************************************/
4
5 /* Don't forget to re-run embed.pl to propagate changes! */
6
7 /* New variables must be added to the very end for binary compatibility.
8  * XSUB.h provides wrapper functions via perlapi.h that make this
9  * irrelevant, but not all code may be expected to #include XSUB.h. */
10
11 /* Don't forget to add your variable also to perl_clone()! */
12
13 /* The 'I' prefix is only needed for vars that need appropriate #defines
14  * generated when built with or without MULTIPLICITY.  It is also used
15  * to generate the appropriate export list for win32.
16  *
17  * When building without MULTIPLICITY, these variables will be truly global. */
18
19 /* pseudo environmental stuff */
20 PERLVAR(Iorigargv,      char **)
21 PERLVAR(Ienvgv,         GV *)
22 PERLVAR(Iincgv,         GV *)
23 PERLVAR(Ihintgv,        GV *)
24 PERLVAR(Iorigfilename,  char *)
25 PERLVAR(Idiehook,       SV *)
26 PERLVAR(Iwarnhook,      SV *)
27
28 /* switches */
29 PERLVAR(Ipatchlevel,    SV *)
30 PERLVAR(Ilocalpatches,  const char * const *)
31 PERLVARI(Isplitstr,     const char *, " ")
32
33 PERLVAR(Iminus_c,       bool)
34 PERLVAR(Ipreprocess,    bool)
35 PERLVAR(Iminus_n,       bool)
36 PERLVAR(Iminus_p,       bool)
37 PERLVAR(Iminus_l,       bool)
38 PERLVAR(Iminus_a,       bool)
39 PERLVAR(Iminus_F,       bool)
40 PERLVAR(Idoswitches,    bool)
41
42 PERLVAR(Iminus_E,       bool)
43
44 /*
45 =head1 Global Variables
46
47 =for apidoc mn|bool|PL_dowarn
48
49 The C variable which corresponds to Perl's $^W warning variable.
50
51 =cut
52 */
53
54 PERLVAR(Idowarn,        U8)
55 PERLVAR(Idoextract,     bool)
56 PERLVAR(Isawampersand,  bool)           /* must save all match strings */
57 PERLVAR(Iunsafe,        bool)
58 PERLVAR(Iexit_flags,    U8)             /* was exit() unexpected, etc. */
59 PERLVAR(Isrand_called,  bool)
60 /* Part of internal state, but makes the 16th 1 byte variable in a row.  */
61 PERLVAR(Itainting,      bool)           /* doing taint checks */
62 PERLVAR(Iinplace,       char *)
63 PERLVAR(Ie_script,      SV *)
64 PERLVAR(Iperldb,        U32)
65
66 /* This value may be set when embedding for full cleanup  */
67 /* 0=none, 1=full, 2=full with checks */
68 PERLVARI(Iperl_destruct_level,  int,    0)
69
70 /* magical thingies */
71 PERLVAR(Ibasetime,      Time_t)         /* $^T */
72 PERLVAR(Iformfeed,      SV *)           /* $^L */
73
74
75 PERLVARI(Imaxsysfd,     I32,    MAXSYSFD)
76                                         /* top fd to pass to subprocesses */
77 PERLVAR(Istatusvalue,   I32)            /* $? */
78 #ifdef VMS
79 PERLVAR(Istatusvalue_vms,U32)
80 #else
81 PERLVAR(Istatusvalue_posix,I32)
82 #endif
83
84 /* Moved here to give an even number of adjacent I32s/U32s/ints */
85 PERLVAR(Iorigargc,      int)
86
87 /* shortcuts to various I/O objects */
88 PERLVAR(Istdingv,       GV *)
89 PERLVAR(Istderrgv,      GV *)
90 PERLVAR(Idefgv,         GV *)
91 PERLVAR(Iargvgv,        GV *)
92 PERLVAR(Iargvoutgv,     GV *)
93 PERLVAR(Iargvout_stack, AV *)
94
95 /* shortcuts to regexp stuff */
96 /* this one needs to be moved to thrdvar.h and accessed via
97  * find_threadsv() when USE_5005THREADS */
98 PERLVAR(Ireplgv,        GV *)
99
100 /* shortcuts to misc objects */
101 PERLVAR(Ierrgv,         GV *)
102
103 /* shortcuts to debugging objects */
104 PERLVAR(IDBgv,          GV *)
105 PERLVAR(IDBline,        GV *)
106
107 /*
108 =for apidoc mn|GV *|PL_DBsub
109 When Perl is run in debugging mode, with the B<-d> switch, this GV contains
110 the SV which holds the name of the sub being debugged.  This is the C
111 variable which corresponds to Perl's $DB::sub variable.  See
112 C<PL_DBsingle>.
113
114 =for apidoc mn|SV *|PL_DBsingle
115 When Perl is run in debugging mode, with the B<-d> switch, this SV is a
116 boolean which indicates whether subs are being single-stepped.
117 Single-stepping is automatically turned on after every step.  This is the C
118 variable which corresponds to Perl's $DB::single variable.  See
119 C<PL_DBsub>.
120
121 =for apidoc mn|SV *|PL_DBtrace
122 Trace variable used when Perl is run in debugging mode, with the B<-d>
123 switch.  This is the C variable which corresponds to Perl's $DB::trace
124 variable.  See C<PL_DBsingle>.
125
126 =cut
127 */
128
129 PERLVAR(IDBsub,         GV *)
130 PERLVAR(IDBsingle,      SV *)
131 PERLVAR(IDBtrace,       SV *)
132 PERLVAR(IDBsignal,      SV *)
133 PERLVAR(Ilineary,       AV *)           /* lines of script for debugger */
134 PERLVAR(Idbargs,        AV *)           /* args to call listed by caller function */
135
136 /* symbol tables */
137 PERLVAR(Idebstash,      HV *)           /* symbol table for perldb package */
138 PERLVAR(Iglobalstash,   HV *)           /* global keyword overrides imported here */
139 PERLVAR(Icurstname,     SV *)           /* name of current package */
140 PERLVAR(Ibeginav,       AV *)           /* names of BEGIN subroutines */
141 PERLVAR(Iendav,         AV *)           /* names of END subroutines */
142 PERLVAR(Iunitcheckav,   AV *)           /* names of UNITCHECK subroutines */
143 PERLVAR(Icheckav,       AV *)           /* names of CHECK subroutines */
144 PERLVAR(Iinitav,        AV *)           /* names of INIT subroutines */
145 PERLVAR(Istrtab,        HV *)           /* shared string table */
146 PERLVARI(Isub_generation,U32,1)         /* incr to invalidate method cache */
147
148 /* funky return mechanisms */
149 PERLVAR(Iforkprocess,   int)            /* so do_open |- can return proc# */
150
151 /* memory management */
152 PERLVAR(Isv_count,      I32)            /* how many SV* are currently allocated */
153 PERLVAR(Isv_objcount,   I32)            /* how many objects are currently allocated */
154 PERLVAR(Isv_root,       SV*)            /* storage for SVs belonging to interp */
155 PERLVAR(Isv_arenaroot,  SV*)            /* list of areas for garbage collection */
156
157 /* subprocess state */
158 PERLVAR(Ifdpid,         AV *)           /* keep fd-to-pid mappings for my_popen */
159
160 /* internal state */
161 PERLVARI(Iop_mask,      char *, NULL)   /* masked operations for safe evals */
162
163 /* current interpreter roots */
164 PERLVAR(Imain_cv,       CV *)
165 PERLVAR(Imain_root,     OP *)
166 PERLVAR(Imain_start,    OP *)
167 PERLVAR(Ieval_root,     OP *)
168 PERLVAR(Ieval_start,    OP *)
169
170 /* runtime control stuff */
171 PERLVARI(Icurcopdb,     COP *,  NULL)
172 PERLVARI(Icopline,      line_t, NOLINE)
173
174 /* statics moved here for shared library purposes */
175 PERLVARI(Igensym,       I32,    0)      /* next symbol for getsym() to define */
176 PERLVAR(Ifilemode,      int)            /* so nextargv() can preserve mode */
177 PERLVAR(Ilastfd,        int)            /* what to preserve mode on */
178 PERLVAR(Ioldname,       char *)         /* what to preserve mode on */
179 PERLVAR(IArgv,          char **)        /* stuff to free from do_aexec, vfork safe */
180 PERLVAR(ICmd,           char *)         /* stuff to free from do_aexec, vfork safe */
181 PERLVAR(Ipreambleav,    AV *)
182 PERLVARI(Ilaststatval,  int,    -1)
183 PERLVARI(Ilaststype,    I32,    OP_STAT)
184 PERLVAR(Imess_sv,       SV *)
185
186 /* XXX shouldn't these be per-thread? --GSAR */
187 PERLVAR(Iors_sv,        SV *)           /* output record separator $\ */
188
189 /* interpreter atexit processing */
190 PERLVARI(Iexitlist,     PerlExitListEntry *, NULL)
191                                         /* list of exit functions */
192 PERLVARI(Iexitlistlen,  I32, 0)         /* length of same */
193
194 /*
195 =for apidoc Amn|HV*|PL_modglobal
196
197 C<PL_modglobal> is a general purpose, interpreter global HV for use by
198 extensions that need to keep information on a per-interpreter basis.
199 In a pinch, it can also be used as a symbol table for extensions
200 to share data among each other.  It is a good idea to use keys
201 prefixed by the package name of the extension that owns the data.
202
203 =cut
204 */
205
206 PERLVAR(Imodglobal,     HV *)           /* per-interp module data */
207
208 /* these used to be in global before 5.004_68 */
209 PERLVARI(Iprofiledata,  U32 *,  NULL)   /* table of ops, counts */
210 PERLVARI(Irsfp, PerlIO * VOL,   NULL)   /* current source file pointer */
211 PERLVARI(Irsfp_filters, AV *,   NULL)   /* keeps active source filters */
212
213 PERLVAR(Icompiling,     COP)            /* compiling/done executing marker */
214
215 PERLVAR(Icompcv,        CV *)           /* currently compiling subroutine */
216 PERLVAR(Icomppad,       AV *)           /* storage for lexically scoped temporaries */
217 PERLVAR(Icomppad_name,  AV *)           /* variable names for "my" variables */
218 PERLVAR(Icomppad_name_fill,     I32)    /* last "introduced" variable offset */
219 PERLVAR(Icomppad_name_floor,    I32)    /* start of vars in innermost block */
220
221 #ifdef HAVE_INTERP_INTERN
222 PERLVAR(Isys_intern,    struct interp_intern)
223                                         /* platform internals */
224 #endif
225
226 /* more statics moved here */
227 PERLVAR(IDBcv,          CV *)           /* from perl.c */
228 PERLVARI(Igeneration,   int,    100)    /* from op.c */
229
230 PERLVARI(Iin_clean_objs,bool,    FALSE) /* from sv.c */
231 PERLVARI(Iin_clean_all, bool,    FALSE) /* from sv.c */
232 PERLVAR(Inomemok,       bool)           /* let malloc context handle nomem */
233 PERLVARI(Isavebegin,     bool,  FALSE)  /* save BEGINs for compiler     */
234
235 PERLVAR(Ilinestart,     char *)         /* beg. of most recently read line */
236
237 PERLVAR(Iuid,           Uid_t)          /* current real user id */
238 PERLVAR(Ieuid,          Uid_t)          /* current effective user id */
239 PERLVAR(Igid,           Gid_t)          /* current real group id */
240 PERLVAR(Iegid,          Gid_t)          /* current effective group id */
241 PERLVARI(Ian,           U32,    0)      /* malloc sequence number */
242 PERLVARI(Icop_seqmax,   U32,    0)      /* statement sequence number */
243 PERLVARI(Ievalseq,      U32,    0)      /* eval sequence number */
244 PERLVAR(Iorigalen,      U32)
245 PERLVAR(Iorigenviron,   char **)
246 #ifdef PERL_USES_PL_PIDSTATUS
247 PERLVAR(Ipidstatus,     HV *)           /* pid-to-status mappings for waitpid */
248 #endif
249 PERLVAR(Iosname,        char *)         /* operating system */
250
251 PERLVAR(Isighandlerp,   Sighandler_t)
252
253 PERLVARA(Ibody_roots,   PERL_ARENA_ROOTS_SIZE, void*) /* array of body roots */
254
255 PERLVAR(Inice_chunk,    char *)         /* a nice chunk of memory to reuse */
256 PERLVAR(Inice_chunk_size,       U32)    /* how nice the chunk of memory is */
257
258 PERLVARI(Imaxo, int,    MAXO)           /* maximum number of ops */
259
260 PERLVARI(Irunops,       runops_proc_t,  MEMBER_TO_FPTR(RUNOPS_DEFAULT))
261
262 PERLVARA(Itokenbuf,256, char)
263
264 /*
265 =for apidoc Amn|SV|PL_sv_undef
266 This is the C<undef> SV.  Always refer to this as C<&PL_sv_undef>.
267
268 =for apidoc Amn|SV|PL_sv_no
269 This is the C<false> SV.  See C<PL_sv_yes>.  Always refer to this as
270 C<&PL_sv_no>.
271
272 =for apidoc Amn|SV|PL_sv_yes
273 This is the C<true> SV.  See C<PL_sv_no>.  Always refer to this as
274 C<&PL_sv_yes>.
275
276 =cut
277 */
278
279 PERLVAR(Isv_undef,      SV)
280 PERLVAR(Isv_no,         SV)
281 PERLVAR(Isv_yes,        SV)
282
283 #ifdef CSH
284 PERLVARI(Icshname,      const char *,   CSH)
285 PERLVARI(Icshlen,       I32,    0)
286 #endif
287
288 PERLVAR(Ilex_state,     U32)            /* next token is determined */
289
290 /* What we know when we're in LEX_KNOWNEXT state. */
291 #ifdef PERL_MAD
292 PERLVARA(Inexttoke,5,   NEXTTOKE)       /* value of next token, if any */
293 PERLVAR(Icurforce,      I32)
294 #else
295 PERLVARA(Inextval,5,    YYSTYPE)        /* value of next token, if any */
296 PERLVARA(Inexttype,5,   I32)            /* type of next token */
297 PERLVAR(Inexttoke,      I32)
298 #endif
299
300 PERLVAR(Ilinestr,       SV *)
301 PERLVAR(Ibufptr,        char *)
302 PERLVAR(Ioldbufptr,     char *)
303 PERLVAR(Ioldoldbufptr,  char *)
304 PERLVAR(Ibufend,        char *)
305 PERLVARI(Iexpect,int,   XSTATE)         /* how to interpret ambiguous tokens */
306
307 PERLVAR(Imulti_end,     I32)            /* last line of multi-line string */
308
309 PERLVAR(Ierror_count,   I32)            /* how many errors so far, max 10 */
310 PERLVAR(Isubline,       I32)            /* line this subroutine began on */
311 PERLVAR(Isubname,       SV *)           /* name of current subroutine */
312
313 PERLVAR(Imin_intro_pending,     I32)    /* start of vars to introduce */
314 PERLVAR(Imax_intro_pending,     I32)    /* end of vars to introduce */
315 PERLVAR(Ipadix,         I32)            /* max used index in current "register" pad */
316 PERLVAR(Ipadix_floor,   I32)            /* how low may inner block reset padix */
317 PERLVAR(Ipad_reset_pending,     I32)    /* reset pad on next attempted alloc */
318
319 PERLVAR(Ilast_uni,      char *)         /* position of last named-unary op */
320 PERLVAR(Ilast_lop,      char *)         /* position of last list operator */
321 PERLVAR(Ilast_lop_op,   OPCODE)         /* last list operator */
322 PERLVAR(Iin_my,         I32)            /* we're compiling a "my" (or "our") declaration */
323 PERLVAR(Iin_my_stash,   HV *)           /* declared class of this "my" declaration */
324 #ifdef FCRYPT
325 PERLVARI(Icryptseen,    bool,   FALSE)  /* has fast crypt() been initialized? */
326 #endif
327
328 PERLVAR(Ihints,         U32)            /* pragma-tic compile-time flags */
329
330 PERLVAR(Idebug,         VOL U32)        /* flags given to -D switch */
331
332 PERLVARI(Iamagic_generation,    long,   0)
333
334 #ifdef USE_LOCALE_COLLATE
335 PERLVAR(Icollation_name,char *)         /* Name of current collation */
336 PERLVAR(Icollxfrm_base, Size_t)         /* Basic overhead in *xfrm() */
337 PERLVARI(Icollxfrm_mult,Size_t, 2)      /* Expansion factor in *xfrm() */
338 PERLVARI(Icollation_ix, U32,    0)      /* Collation generation index */
339 PERLVARI(Icollation_standard, bool,     TRUE)
340                                         /* Assume simple collation */
341 #endif /* USE_LOCALE_COLLATE */
342
343
344 #ifdef PERL_UTF8_CACHE_ASSERT
345 PERLVARI(Iutf8cache, I8, -1)    /* Is the utf8 caching code enabled? */
346 #else
347 PERLVARI(Iutf8cache, I8, 1)     /* Is the utf8 caching code enabled? */
348 #endif
349
350 #ifdef USE_LOCALE_NUMERIC
351
352 PERLVARI(Inumeric_standard,     bool,   TRUE)
353                                         /* Assume simple numerics */
354 PERLVARI(Inumeric_local,        bool,   TRUE)
355                                         /* Assume local numerics */
356 PERLVAR(Inumeric_name,  char *)         /* Name of current numeric locale */
357 #endif /* !USE_LOCALE_NUMERIC */
358
359 /* utf8 character classes */
360 PERLVAR(Iutf8_alnum,    SV *)
361 PERLVAR(Iutf8_alnumc,   SV *)
362 PERLVAR(Iutf8_ascii,    SV *)
363 PERLVAR(Iutf8_alpha,    SV *)
364 PERLVAR(Iutf8_space,    SV *)
365 PERLVAR(Iutf8_cntrl,    SV *)
366 PERLVAR(Iutf8_graph,    SV *)
367 PERLVAR(Iutf8_digit,    SV *)
368 PERLVAR(Iutf8_upper,    SV *)
369 PERLVAR(Iutf8_lower,    SV *)
370 PERLVAR(Iutf8_print,    SV *)
371 PERLVAR(Iutf8_punct,    SV *)
372 PERLVAR(Iutf8_xdigit,   SV *)
373 PERLVAR(Iutf8_mark,     SV *)
374 PERLVAR(Iutf8_toupper,  SV *)
375 PERLVAR(Iutf8_totitle,  SV *)
376 PERLVAR(Iutf8_tolower,  SV *)
377 PERLVAR(Iutf8_tofold,   SV *)
378 PERLVAR(Ilast_swash_hv, HV *)
379 PERLVAR(Ilast_swash_tmps,       U8 *)
380 PERLVAR(Ilast_swash_slen,       STRLEN)
381 PERLVARI(Iglob_index,   int,    0)
382 PERLVAR(Ilast_swash_klen,       U32)
383 PERLVARA(Ilast_swash_key,10,    U8)
384
385 PERLVAR(Iparser,        yy_parser *)    /* current parser state */
386
387 PERLVARA(Iuudmap,256,   char)
388 PERLVAR(Ibitcount,      char *)
389
390 PERLVAR(Ipsig_ptr, SV**)
391 PERLVAR(Ipsig_name, SV**)
392
393 #if defined(PERL_IMPLICIT_SYS)
394 PERLVAR(IMem,           struct IPerlMem*)
395 PERLVAR(IMemShared,     struct IPerlMem*)
396 PERLVAR(IMemParse,      struct IPerlMem*)
397 PERLVAR(IEnv,           struct IPerlEnv*)
398 PERLVAR(IStdIO,         struct IPerlStdIO*)
399 PERLVAR(ILIO,           struct IPerlLIO*)
400 PERLVAR(IDir,           struct IPerlDir*)
401 PERLVAR(ISock,          struct IPerlSock*)
402 PERLVAR(IProc,          struct IPerlProc*)
403 #endif
404
405 PERLVAR(Iptr_table,     PTR_TBL_t*)
406 PERLVARI(Ibeginav_save, AV*, NULL)      /* save BEGIN{}s when compiling */
407
408 PERLVAR(Ibody_arenas, void*) /* pointer to list of body-arenas */
409
410 PERLVAR(Ipsig_pend, int *)              /* per-signal "count" of pending */
411 PERLVARI(Isig_pending, int,0)           /* Number if highest signal pending */
412
413 #ifdef USE_LOCALE_NUMERIC
414
415 PERLVAR(Inumeric_radix_sv,      SV *)   /* The radix separator if not '.' */
416
417 #endif
418
419 #if defined(USE_ITHREADS)
420 PERLVAR(Iregex_pad,     SV**)           /* All regex objects */
421 PERLVAR(Iregex_padav,   AV*)            /* All regex objects */
422
423 #endif
424
425 #ifdef USE_REENTRANT_API
426 PERLVAR(Ireentrant_buffer, REENTR*)     /* here we store the _r buffers */
427 #endif
428
429
430 #ifdef PERL_MAD
431 PERLVARI(Imadskills,    bool, FALSE)    /* preserve all syntactic info */
432                                         /* (MAD = Misc Attribute Decoration) */
433 PERLVARI(Ixmlfp, PerlIO *,NULL)
434 #endif
435
436 PERLVAR(Icustom_op_names, HV*)  /* Names of user defined ops */
437 PERLVAR(Icustom_op_descs, HV*)  /* Descriptions of user defined ops */
438
439 #ifdef PERLIO_LAYERS
440 PERLVARI(Iperlio, PerlIO *,NULL)
441 PERLVARI(Iknown_layers, PerlIO_list_t *,NULL)
442 PERLVARI(Idef_layerlist, PerlIO_list_t *,NULL)
443 #endif
444
445 PERLVARI(Iencoding,     SV*, NULL)              /* character encoding */
446
447 PERLVAR(Idebug_pad,     struct perl_debug_pad)  /* always needed because of the re extension */
448
449 PERLVAR(Itaint_warn,    bool)      /* taint warns instead of dying */
450 PERLVAR(Iutf8locale,    bool)           /* utf8 locale detected */
451 PERLVARI(Ihash_seed_set, bool, FALSE)           /* Hash initialized? */
452 PERLVARI(Irehash_seed_set, bool, FALSE) /* 582 hash initialized? */
453
454 PERLVARI(Icv_has_eval, I32, 0) /* PL_compcv includes an entereval or similar */
455
456 #ifdef PL_OP_SLAB_ALLOC
457 PERLVAR(IOpPtr,I32 **)
458 PERLVARI(IOpSpace,I32,0)
459 PERLVAR(IOpSlab,I32 *)
460 #endif
461
462 PERLVAR(Iutf8_idstart,  SV *)
463 PERLVAR(Iutf8_idcont,   SV *)
464
465 PERLVAR(Isort_RealCmp,  SVCOMPARE_t)
466
467 PERLVARI(Icheckav_save, AV*, NULL)      /* save CHECK{}s when compiling */
468 PERLVARI(Iunitcheckav_save, AV*, NULL)  /* save UNITCHECK{}s when compiling */
469
470 PERLVARI(Iclocktick, long, 0)   /* this many times() ticks in a second */
471
472 PERLVARI(Iin_load_module, int, 0)       /* to prevent recursions in PerlIO_find_layer */
473
474 PERLVAR(Iunicode, U32)  /* Unicode features: $ENV{PERL_UNICODE} or -C */
475
476 PERLVAR(Isignals, U32)  /* Using which pre-5.8 signals */
477
478 PERLVAR(Ireentrant_retint, int) /* Integer return value from reentrant functions */
479
480 PERLVAR(Istashcache,    HV *)           /* Cache to speed up S_method_common */
481
482 /* Hooks to shared SVs and locks. */
483 PERLVARI(Isharehook,    share_proc_t,   MEMBER_TO_FPTR(Perl_sv_nosharing))
484 PERLVARI(Ilockhook,     share_proc_t,   MEMBER_TO_FPTR(Perl_sv_nosharing))
485 #ifdef NO_MATHOMS
486 #  define PERL_UNLOCK_HOOK Perl_sv_nosharing
487 #else
488 /* This reference ensures that the mathoms are linked with perl */
489 #  define PERL_UNLOCK_HOOK Perl_sv_nounlocking
490 #endif
491 PERLVARI(Iunlockhook,   share_proc_t,   MEMBER_TO_FPTR(PERL_UNLOCK_HOOK))
492
493 PERLVARI(Ithreadhook,   thrhook_proc_t, MEMBER_TO_FPTR(Perl_nothreadhook))
494
495 /* Force inclusion of both runops options */
496 PERLVARI(Irunops_std,   runops_proc_t,  MEMBER_TO_FPTR(Perl_runops_standard))
497 PERLVARI(Irunops_dbg,   runops_proc_t,  MEMBER_TO_FPTR(Perl_runops_debug))
498
499 /* Stores the PPID */
500 #ifdef THREADS_HAVE_PIDS
501 PERLVARI(Ippid,         IV,             0)
502 #endif
503
504 PERLVARI(Ihash_seed, UV, 0)             /* Hash initializer */
505
506 PERLVAR(IDBassertion,   SV *)
507
508 PERLVARI(Irehash_seed, UV, 0)           /* 582 hash initializer */
509
510 #ifdef DEBUG_LEAKING_SCALARS_FORK_DUMP
511 /* File descriptor to talk to the child which dumps scalars.  */
512 PERLVARI(Idumper_fd, int, -1)
513 #endif
514
515 #ifdef PERL_IMPLICIT_CONTEXT
516 PERLVARI(Imy_cxt_size, int, 0)          /* size of PL_my_cxt_list */
517 PERLVARI(Imy_cxt_list, void **, NULL) /* per-module array of MY_CXT pointers */
518 #ifdef PERL_GLOBAL_STRUCT_PRIVATE
519 PERLVARI(Imy_cxt_keys, const char **, NULL) /* per-module array of pointers to MY_CXT_KEY constants */
520 #endif
521 #endif
522
523 #ifdef PERL_TRACK_MEMPOOL
524 /* For use with the memory debugging code in util.c  */
525 PERLVAR(Imemory_debug_header, struct perl_memory_debug_header)
526 #endif
527
528 #ifdef PERL_DEBUG_READONLY_OPS
529 PERLVARI(Islabs, I32**, NULL)   /* Array of slabs that have been allocated */
530 PERLVARI(Islab_count, U32, 0)   /* Size of the array */
531 #endif
532
533 /* New variables must be added to the very end, before this comment,
534  * for binary compatibility (the offsets of the old members must not change).
535  * (Don't forget to add your variable also to perl_clone()!)
536  * XSUB.h provides wrapper functions via perlapi.h that make this
537  * irrelevant, but not all code may be expected to #include XSUB.h.
538  */