This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[win32] merge change#995 from maintbranch, tweak interp.sym and
[perl5.git] / embedvar.h
CommitLineData
d4cce5f1
NIS
1/* !!!!!!! DO NOT EDIT THIS FILE !!!!!!!
2 This file is built by embed.pl from global.sym, intrpvar.h,
3 and thrdvar.h. Any changes made here will be lost!
4*/
5
6/* (Doing namespace management portably in C is really gross.) */
7
8/* EMBED has no run-time penalty, but helps keep the Perl namespace
9 from colliding with that used by other libraries pulled in
10 by extensions or by embedding perl. Allow a cc -DNO_EMBED
11 override, however, to keep binary compatability with previous
12 versions of perl.
13*/
14
15
16/* Put interpreter-specific symbols into a struct? */
17
18#ifdef MULTIPLICITY
19
20#ifndef USE_THREADS
21/* If we do not have threads then per-thread vars are per-interpreter */
22
23#define Sv (curinterp->TSv)
24#define Xpv (curinterp->TXpv)
4e4c362e 25#define av_fetch_sv (curinterp->Tav_fetch_sv)
d4cce5f1
NIS
26#define bodytarget (curinterp->Tbodytarget)
27#define chopset (curinterp->Tchopset)
28#define curcop (curinterp->Tcurcop)
29#define curpad (curinterp->Tcurpad)
30#define curpm (curinterp->Tcurpm)
31#define curstack (curinterp->Tcurstack)
e336de0d 32#define curstackinfo (curinterp->Tcurstackinfo)
d4cce5f1 33#define curstash (curinterp->Tcurstash)
d4cce5f1
NIS
34#define defoutgv (curinterp->Tdefoutgv)
35#define defstash (curinterp->Tdefstash)
36#define delaymagic (curinterp->Tdelaymagic)
37#define dirty (curinterp->Tdirty)
38#define formtarget (curinterp->Tformtarget)
4e4c362e
GS
39#define hv_fetch_ent_mh (curinterp->Thv_fetch_ent_mh)
40#define hv_fetch_sv (curinterp->Thv_fetch_sv)
d4cce5f1
NIS
41#define in_eval (curinterp->Tin_eval)
42#define last_in_gv (curinterp->Tlast_in_gv)
43#define localizing (curinterp->Tlocalizing)
44#define mainstack (curinterp->Tmainstack)
45#define markstack (curinterp->Tmarkstack)
46#define markstack_max (curinterp->Tmarkstack_max)
47#define markstack_ptr (curinterp->Tmarkstack_ptr)
48c036b1 48#define modcount (curinterp->Tmodcount)
d4cce5f1
NIS
49#define nrs (curinterp->Tnrs)
50#define ofs (curinterp->Tofs)
51#define ofslen (curinterp->Tofslen)
52#define op (curinterp->Top)
53#define opsave (curinterp->Topsave)
54#define restartop (curinterp->Trestartop)
55#define retstack (curinterp->Tretstack)
56#define retstack_ix (curinterp->Tretstack_ix)
57#define retstack_max (curinterp->Tretstack_max)
58#define rs (curinterp->Trs)
59#define savestack (curinterp->Tsavestack)
60#define savestack_ix (curinterp->Tsavestack_ix)
61#define savestack_max (curinterp->Tsavestack_max)
62#define scopestack (curinterp->Tscopestack)
63#define scopestack_ix (curinterp->Tscopestack_ix)
64#define scopestack_max (curinterp->Tscopestack_max)
65#define stack_base (curinterp->Tstack_base)
66#define stack_max (curinterp->Tstack_max)
67#define stack_sp (curinterp->Tstack_sp)
68#define start_env (curinterp->Tstart_env)
69#define statbuf (curinterp->Tstatbuf)
70#define tainted (curinterp->Ttainted)
71#define timesbuf (curinterp->Ttimesbuf)
72#define tmps_floor (curinterp->Ttmps_floor)
73#define tmps_ix (curinterp->Ttmps_ix)
74#define tmps_max (curinterp->Ttmps_max)
75#define tmps_stack (curinterp->Ttmps_stack)
76#define top_env (curinterp->Ttop_env)
77#define toptarget (curinterp->Ttoptarget)
78
79#endif /* !USE_THREADS */
80
81/* These are always per-interpreter if there is more than one */
82
83#define Argv (curinterp->IArgv)
84#define Cmd (curinterp->ICmd)
85#define DBgv (curinterp->IDBgv)
86#define DBline (curinterp->IDBline)
87#define DBsignal (curinterp->IDBsignal)
88#define DBsingle (curinterp->IDBsingle)
89#define DBsub (curinterp->IDBsub)
90#define DBtrace (curinterp->IDBtrace)
91#define ampergv (curinterp->Iampergv)
92#define argvgv (curinterp->Iargvgv)
93#define argvoutgv (curinterp->Iargvoutgv)
94#define basetime (curinterp->Ibasetime)
95#define beginav (curinterp->Ibeginav)
96#define cddir (curinterp->Icddir)
97#define copline (curinterp->Icopline)
98#define curcopdb (curinterp->Icurcopdb)
99#define curstname (curinterp->Icurstname)
100#define dbargs (curinterp->Idbargs)
101#define debdelim (curinterp->Idebdelim)
102#define debname (curinterp->Idebname)
103#define debstash (curinterp->Idebstash)
104#define defgv (curinterp->Idefgv)
105#define diehook (curinterp->Idiehook)
106#define dlevel (curinterp->Idlevel)
107#define dlmax (curinterp->Idlmax)
108#define doextract (curinterp->Idoextract)
109#define doswitches (curinterp->Idoswitches)
110#define dowarn (curinterp->Idowarn)
111#define dumplvl (curinterp->Idumplvl)
afe37c7d 112#define e_script (curinterp->Ie_script)
d4cce5f1
NIS
113#define endav (curinterp->Iendav)
114#define envgv (curinterp->Ienvgv)
115#define errgv (curinterp->Ierrgv)
116#define eval_root (curinterp->Ieval_root)
117#define eval_start (curinterp->Ieval_start)
4b556e6c
JD
118#define exitlist (curinterp->Iexitlist)
119#define exitlistlen (curinterp->Iexitlistlen)
d4cce5f1
NIS
120#define fdpid (curinterp->Ifdpid)
121#define filemode (curinterp->Ifilemode)
122#define firstgv (curinterp->Ifirstgv)
123#define forkprocess (curinterp->Iforkprocess)
124#define formfeed (curinterp->Iformfeed)
125#define gensym (curinterp->Igensym)
126#define globalstash (curinterp->Iglobalstash)
127#define incgv (curinterp->Iincgv)
128#define initav (curinterp->Iinitav)
129#define inplace (curinterp->Iinplace)
130#define lastfd (curinterp->Ilastfd)
131#define lastscream (curinterp->Ilastscream)
132#define lastsize (curinterp->Ilastsize)
133#define lastspbase (curinterp->Ilastspbase)
134#define laststatval (curinterp->Ilaststatval)
135#define laststype (curinterp->Ilaststype)
136#define leftgv (curinterp->Ileftgv)
137#define lineary (curinterp->Ilineary)
138#define localpatches (curinterp->Ilocalpatches)
139#define main_cv (curinterp->Imain_cv)
140#define main_root (curinterp->Imain_root)
141#define main_start (curinterp->Imain_start)
142#define maxscream (curinterp->Imaxscream)
143#define maxsysfd (curinterp->Imaxsysfd)
144#define mess_sv (curinterp->Imess_sv)
145#define minus_F (curinterp->Iminus_F)
146#define minus_a (curinterp->Iminus_a)
147#define minus_c (curinterp->Iminus_c)
148#define minus_l (curinterp->Iminus_l)
149#define minus_n (curinterp->Iminus_n)
150#define minus_p (curinterp->Iminus_p)
4b556e6c 151#define modglobal (curinterp->Imodglobal)
d4cce5f1
NIS
152#define multiline (curinterp->Imultiline)
153#define mystrk (curinterp->Imystrk)
154#define ofmt (curinterp->Iofmt)
155#define oldlastpm (curinterp->Ioldlastpm)
156#define oldname (curinterp->Ioldname)
157#define op_mask (curinterp->Iop_mask)
158#define origargc (curinterp->Iorigargc)
159#define origargv (curinterp->Iorigargv)
160#define origfilename (curinterp->Iorigfilename)
161#define ors (curinterp->Iors)
162#define orslen (curinterp->Iorslen)
163#define parsehook (curinterp->Iparsehook)
164#define patchlevel (curinterp->Ipatchlevel)
165#define perl_destruct_level (curinterp->Iperl_destruct_level)
166#define perldb (curinterp->Iperldb)
167#define preambleav (curinterp->Ipreambleav)
168#define preambled (curinterp->Ipreambled)
169#define preprocess (curinterp->Ipreprocess)
170#define rightgv (curinterp->Irightgv)
171#define sawampersand (curinterp->Isawampersand)
172#define sawstudy (curinterp->Isawstudy)
173#define sawvec (curinterp->Isawvec)
174#define screamfirst (curinterp->Iscreamfirst)
175#define screamnext (curinterp->Iscreamnext)
176#define secondgv (curinterp->Isecondgv)
177#define siggv (curinterp->Isiggv)
d4cce5f1 178#define sortcop (curinterp->Isortcop)
d4cce5f1
NIS
179#define sortstash (curinterp->Isortstash)
180#define splitstr (curinterp->Isplitstr)
181#define statcache (curinterp->Istatcache)
182#define statgv (curinterp->Istatgv)
183#define statname (curinterp->Istatname)
184#define statusvalue (curinterp->Istatusvalue)
185#define statusvalue_vms (curinterp->Istatusvalue_vms)
186#define stdingv (curinterp->Istdingv)
187#define strchop (curinterp->Istrchop)
188#define strtab (curinterp->Istrtab)
189#define sv_arenaroot (curinterp->Isv_arenaroot)
190#define sv_count (curinterp->Isv_count)
191#define sv_objcount (curinterp->Isv_objcount)
192#define sv_root (curinterp->Isv_root)
48c036b1 193#define sys_intern (curinterp->Isys_intern)
d4cce5f1 194#define tainting (curinterp->Itainting)
940cb80d 195#define threadnum (curinterp->Ithreadnum)
d4cce5f1
NIS
196#define thrsv (curinterp->Ithrsv)
197#define unsafe (curinterp->Iunsafe)
198#define warnhook (curinterp->Iwarnhook)
199
200#else /* !MULTIPLICITY */
201
202#define IArgv Argv
203#define ICmd Cmd
204#define IDBgv DBgv
205#define IDBline DBline
206#define IDBsignal DBsignal
207#define IDBsingle DBsingle
208#define IDBsub DBsub
209#define IDBtrace DBtrace
210#define Iampergv ampergv
211#define Iargvgv argvgv
212#define Iargvoutgv argvoutgv
213#define Ibasetime basetime
214#define Ibeginav beginav
215#define Icddir cddir
216#define Icopline copline
217#define Icurcopdb curcopdb
218#define Icurstname curstname
219#define Idbargs dbargs
220#define Idebdelim debdelim
221#define Idebname debname
222#define Idebstash debstash
223#define Idefgv defgv
224#define Idiehook diehook
225#define Idlevel dlevel
226#define Idlmax dlmax
227#define Idoextract doextract
228#define Idoswitches doswitches
229#define Idowarn dowarn
230#define Idumplvl dumplvl
afe37c7d 231#define Ie_script e_script
d4cce5f1
NIS
232#define Iendav endav
233#define Ienvgv envgv
234#define Ierrgv errgv
235#define Ieval_root eval_root
236#define Ieval_start eval_start
4b556e6c
JD
237#define Iexitlist exitlist
238#define Iexitlistlen exitlistlen
d4cce5f1
NIS
239#define Ifdpid fdpid
240#define Ifilemode filemode
241#define Ifirstgv firstgv
242#define Iforkprocess forkprocess
243#define Iformfeed formfeed
244#define Igensym gensym
245#define Iglobalstash globalstash
246#define Iincgv incgv
247#define Iinitav initav
248#define Iinplace inplace
249#define Ilastfd lastfd
250#define Ilastscream lastscream
251#define Ilastsize lastsize
252#define Ilastspbase lastspbase
253#define Ilaststatval laststatval
254#define Ilaststype laststype
255#define Ileftgv leftgv
256#define Ilineary lineary
257#define Ilocalpatches localpatches
258#define Imain_cv main_cv
259#define Imain_root main_root
260#define Imain_start main_start
261#define Imaxscream maxscream
262#define Imaxsysfd maxsysfd
263#define Imess_sv mess_sv
264#define Iminus_F minus_F
265#define Iminus_a minus_a
266#define Iminus_c minus_c
267#define Iminus_l minus_l
268#define Iminus_n minus_n
269#define Iminus_p minus_p
4b556e6c 270#define Imodglobal modglobal
d4cce5f1
NIS
271#define Imultiline multiline
272#define Imystrk mystrk
273#define Iofmt ofmt
274#define Ioldlastpm oldlastpm
275#define Ioldname oldname
276#define Iop_mask op_mask
277#define Iorigargc origargc
278#define Iorigargv origargv
279#define Iorigfilename origfilename
280#define Iors ors
281#define Iorslen orslen
282#define Iparsehook parsehook
283#define Ipatchlevel patchlevel
284#define Iperl_destruct_level perl_destruct_level
285#define Iperldb perldb
286#define Ipreambleav preambleav
287#define Ipreambled preambled
288#define Ipreprocess preprocess
289#define Irightgv rightgv
290#define Isawampersand sawampersand
291#define Isawstudy sawstudy
292#define Isawvec sawvec
293#define Iscreamfirst screamfirst
294#define Iscreamnext screamnext
295#define Isecondgv secondgv
296#define Isiggv siggv
d4cce5f1 297#define Isortcop sortcop
d4cce5f1
NIS
298#define Isortstash sortstash
299#define Isplitstr splitstr
300#define Istatcache statcache
301#define Istatgv statgv
302#define Istatname statname
303#define Istatusvalue statusvalue
304#define Istatusvalue_vms statusvalue_vms
305#define Istdingv stdingv
306#define Istrchop strchop
307#define Istrtab strtab
308#define Isv_arenaroot sv_arenaroot
309#define Isv_count sv_count
310#define Isv_objcount sv_objcount
311#define Isv_root sv_root
48c036b1 312#define Isys_intern sys_intern
d4cce5f1 313#define Itainting tainting
940cb80d 314#define Ithreadnum threadnum
d4cce5f1
NIS
315#define Ithrsv thrsv
316#define Iunsafe unsafe
317#define Iwarnhook warnhook
318
319#ifndef USE_THREADS
320
321#define TSv Sv
322#define TXpv Xpv
4e4c362e 323#define Tav_fetch_sv av_fetch_sv
d4cce5f1
NIS
324#define Tbodytarget bodytarget
325#define Tchopset chopset
326#define Tcurcop curcop
327#define Tcurpad curpad
328#define Tcurpm curpm
329#define Tcurstack curstack
e336de0d 330#define Tcurstackinfo curstackinfo
d4cce5f1 331#define Tcurstash curstash
d4cce5f1
NIS
332#define Tdefoutgv defoutgv
333#define Tdefstash defstash
334#define Tdelaymagic delaymagic
335#define Tdirty dirty
336#define Tformtarget formtarget
4e4c362e
GS
337#define Thv_fetch_ent_mh hv_fetch_ent_mh
338#define Thv_fetch_sv hv_fetch_sv
d4cce5f1
NIS
339#define Tin_eval in_eval
340#define Tlast_in_gv last_in_gv
341#define Tlocalizing localizing
342#define Tmainstack mainstack
343#define Tmarkstack markstack
344#define Tmarkstack_max markstack_max
345#define Tmarkstack_ptr markstack_ptr
48c036b1 346#define Tmodcount modcount
d4cce5f1
NIS
347#define Tnrs nrs
348#define Tofs ofs
349#define Tofslen ofslen
350#define Top op
351#define Topsave opsave
352#define Trestartop restartop
353#define Tretstack retstack
354#define Tretstack_ix retstack_ix
355#define Tretstack_max retstack_max
356#define Trs rs
357#define Tsavestack savestack
358#define Tsavestack_ix savestack_ix
359#define Tsavestack_max savestack_max
360#define Tscopestack scopestack
361#define Tscopestack_ix scopestack_ix
362#define Tscopestack_max scopestack_max
363#define Tstack_base stack_base
364#define Tstack_max stack_max
365#define Tstack_sp stack_sp
366#define Tstart_env start_env
367#define Tstatbuf statbuf
368#define Ttainted tainted
369#define Ttimesbuf timesbuf
370#define Ttmps_floor tmps_floor
371#define Ttmps_ix tmps_ix
372#define Ttmps_max tmps_max
373#define Ttmps_stack tmps_stack
374#define Ttop_env top_env
375#define Ttoptarget toptarget
376
377#endif /* USE_THREADS */
378
379/* Hide what would have been interpreter-specific symbols? */
380
381#ifdef EMBED
382
383#define Argv Perl_Argv
384#define Cmd Perl_Cmd
385#define DBgv Perl_DBgv
386#define DBline Perl_DBline
387#define DBsignal Perl_DBsignal
388#define DBsingle Perl_DBsingle
389#define DBsub Perl_DBsub
390#define DBtrace Perl_DBtrace
391#define ampergv Perl_ampergv
392#define argvgv Perl_argvgv
393#define argvoutgv Perl_argvoutgv
394#define basetime Perl_basetime
395#define beginav Perl_beginav
396#define cddir Perl_cddir
397#define copline Perl_copline
398#define curcopdb Perl_curcopdb
399#define curstname Perl_curstname
400#define dbargs Perl_dbargs
401#define debdelim Perl_debdelim
402#define debname Perl_debname
403#define debstash Perl_debstash
404#define defgv Perl_defgv
405#define diehook Perl_diehook
406#define dlevel Perl_dlevel
407#define dlmax Perl_dlmax
408#define doextract Perl_doextract
409#define doswitches Perl_doswitches
410#define dowarn Perl_dowarn
411#define dumplvl Perl_dumplvl
afe37c7d 412#define e_script Perl_e_script
d4cce5f1
NIS
413#define endav Perl_endav
414#define envgv Perl_envgv
415#define errgv Perl_errgv
416#define eval_root Perl_eval_root
417#define eval_start Perl_eval_start
4b556e6c
JD
418#define exitlist Perl_exitlist
419#define exitlistlen Perl_exitlistlen
d4cce5f1
NIS
420#define fdpid Perl_fdpid
421#define filemode Perl_filemode
422#define firstgv Perl_firstgv
423#define forkprocess Perl_forkprocess
424#define formfeed Perl_formfeed
425#define gensym Perl_gensym
426#define globalstash Perl_globalstash
427#define incgv Perl_incgv
428#define initav Perl_initav
429#define inplace Perl_inplace
430#define lastfd Perl_lastfd
431#define lastscream Perl_lastscream
432#define lastsize Perl_lastsize
433#define lastspbase Perl_lastspbase
434#define laststatval Perl_laststatval
435#define laststype Perl_laststype
436#define leftgv Perl_leftgv
437#define lineary Perl_lineary
438#define localpatches Perl_localpatches
439#define main_cv Perl_main_cv
440#define main_root Perl_main_root
441#define main_start Perl_main_start
442#define maxscream Perl_maxscream
443#define maxsysfd Perl_maxsysfd
444#define mess_sv Perl_mess_sv
445#define minus_F Perl_minus_F
446#define minus_a Perl_minus_a
447#define minus_c Perl_minus_c
448#define minus_l Perl_minus_l
449#define minus_n Perl_minus_n
450#define minus_p Perl_minus_p
4b556e6c 451#define modglobal Perl_modglobal
d4cce5f1
NIS
452#define multiline Perl_multiline
453#define mystrk Perl_mystrk
454#define ofmt Perl_ofmt
455#define oldlastpm Perl_oldlastpm
456#define oldname Perl_oldname
457#define op_mask Perl_op_mask
458#define origargc Perl_origargc
459#define origargv Perl_origargv
460#define origfilename Perl_origfilename
461#define ors Perl_ors
462#define orslen Perl_orslen
463#define parsehook Perl_parsehook
464#define patchlevel Perl_patchlevel
465#define perl_destruct_level Perl_perl_destruct_level
466#define perldb Perl_perldb
467#define preambleav Perl_preambleav
468#define preambled Perl_preambled
469#define preprocess Perl_preprocess
470#define rightgv Perl_rightgv
471#define sawampersand Perl_sawampersand
472#define sawstudy Perl_sawstudy
473#define sawvec Perl_sawvec
474#define screamfirst Perl_screamfirst
475#define screamnext Perl_screamnext
476#define secondgv Perl_secondgv
477#define siggv Perl_siggv
d4cce5f1 478#define sortcop Perl_sortcop
d4cce5f1
NIS
479#define sortstash Perl_sortstash
480#define splitstr Perl_splitstr
481#define statcache Perl_statcache
482#define statgv Perl_statgv
483#define statname Perl_statname
484#define statusvalue Perl_statusvalue
485#define statusvalue_vms Perl_statusvalue_vms
486#define stdingv Perl_stdingv
487#define strchop Perl_strchop
488#define strtab Perl_strtab
489#define sv_arenaroot Perl_sv_arenaroot
490#define sv_count Perl_sv_count
491#define sv_objcount Perl_sv_objcount
492#define sv_root Perl_sv_root
48c036b1 493#define sys_intern Perl_sys_intern
d4cce5f1 494#define tainting Perl_tainting
940cb80d 495#define threadnum Perl_threadnum
d4cce5f1
NIS
496#define thrsv Perl_thrsv
497#define unsafe Perl_unsafe
498#define warnhook Perl_warnhook
499
500#ifndef USE_THREADS
501
502#define Sv Perl_Sv
503#define Xpv Perl_Xpv
4e4c362e 504#define av_fetch_sv Perl_av_fetch_sv
d4cce5f1
NIS
505#define bodytarget Perl_bodytarget
506#define chopset Perl_chopset
507#define curcop Perl_curcop
508#define curpad Perl_curpad
509#define curpm Perl_curpm
510#define curstack Perl_curstack
e336de0d 511#define curstackinfo Perl_curstackinfo
d4cce5f1 512#define curstash Perl_curstash
d4cce5f1
NIS
513#define defoutgv Perl_defoutgv
514#define defstash Perl_defstash
515#define delaymagic Perl_delaymagic
516#define dirty Perl_dirty
517#define formtarget Perl_formtarget
4e4c362e
GS
518#define hv_fetch_ent_mh Perl_hv_fetch_ent_mh
519#define hv_fetch_sv Perl_hv_fetch_sv
d4cce5f1
NIS
520#define in_eval Perl_in_eval
521#define last_in_gv Perl_last_in_gv
522#define localizing Perl_localizing
523#define mainstack Perl_mainstack
524#define markstack Perl_markstack
525#define markstack_max Perl_markstack_max
526#define markstack_ptr Perl_markstack_ptr
48c036b1 527#define modcount Perl_modcount
d4cce5f1
NIS
528#define nrs Perl_nrs
529#define ofs Perl_ofs
530#define ofslen Perl_ofslen
531#define op Perl_op
532#define opsave Perl_opsave
533#define restartop Perl_restartop
534#define retstack Perl_retstack
535#define retstack_ix Perl_retstack_ix
536#define retstack_max Perl_retstack_max
537#define rs Perl_rs
538#define savestack Perl_savestack
539#define savestack_ix Perl_savestack_ix
540#define savestack_max Perl_savestack_max
541#define scopestack Perl_scopestack
542#define scopestack_ix Perl_scopestack_ix
543#define scopestack_max Perl_scopestack_max
544#define stack_base Perl_stack_base
545#define stack_max Perl_stack_max
546#define stack_sp Perl_stack_sp
547#define start_env Perl_start_env
548#define statbuf Perl_statbuf
549#define tainted Perl_tainted
550#define timesbuf Perl_timesbuf
551#define tmps_floor Perl_tmps_floor
552#define tmps_ix Perl_tmps_ix
553#define tmps_max Perl_tmps_max
554#define tmps_stack Perl_tmps_stack
555#define top_env Perl_top_env
556#define toptarget Perl_toptarget
557
558#endif /* USE_THREADS */
559#endif /* EMBED */
560#endif /* MULTIPLICITY */
561
562/* Now same trickey for per-thread variables */
563
564#ifdef USE_THREADS
565
566#define Sv (thr->TSv)
567#define Xpv (thr->TXpv)
4e4c362e 568#define av_fetch_sv (thr->Tav_fetch_sv)
d4cce5f1
NIS
569#define bodytarget (thr->Tbodytarget)
570#define chopset (thr->Tchopset)
571#define curcop (thr->Tcurcop)
572#define curpad (thr->Tcurpad)
573#define curpm (thr->Tcurpm)
574#define curstack (thr->Tcurstack)
e336de0d 575#define curstackinfo (thr->Tcurstackinfo)
d4cce5f1 576#define curstash (thr->Tcurstash)
d4cce5f1
NIS
577#define defoutgv (thr->Tdefoutgv)
578#define defstash (thr->Tdefstash)
579#define delaymagic (thr->Tdelaymagic)
580#define dirty (thr->Tdirty)
581#define formtarget (thr->Tformtarget)
4e4c362e
GS
582#define hv_fetch_ent_mh (thr->Thv_fetch_ent_mh)
583#define hv_fetch_sv (thr->Thv_fetch_sv)
d4cce5f1
NIS
584#define in_eval (thr->Tin_eval)
585#define last_in_gv (thr->Tlast_in_gv)
586#define localizing (thr->Tlocalizing)
587#define mainstack (thr->Tmainstack)
588#define markstack (thr->Tmarkstack)
589#define markstack_max (thr->Tmarkstack_max)
590#define markstack_ptr (thr->Tmarkstack_ptr)
48c036b1 591#define modcount (thr->Tmodcount)
d4cce5f1
NIS
592#define nrs (thr->Tnrs)
593#define ofs (thr->Tofs)
594#define ofslen (thr->Tofslen)
595#define op (thr->Top)
596#define opsave (thr->Topsave)
597#define restartop (thr->Trestartop)
598#define retstack (thr->Tretstack)
599#define retstack_ix (thr->Tretstack_ix)
600#define retstack_max (thr->Tretstack_max)
601#define rs (thr->Trs)
602#define savestack (thr->Tsavestack)
603#define savestack_ix (thr->Tsavestack_ix)
604#define savestack_max (thr->Tsavestack_max)
605#define scopestack (thr->Tscopestack)
606#define scopestack_ix (thr->Tscopestack_ix)
607#define scopestack_max (thr->Tscopestack_max)
608#define stack_base (thr->Tstack_base)
609#define stack_max (thr->Tstack_max)
610#define stack_sp (thr->Tstack_sp)
611#define start_env (thr->Tstart_env)
612#define statbuf (thr->Tstatbuf)
613#define tainted (thr->Ttainted)
614#define timesbuf (thr->Ttimesbuf)
615#define tmps_floor (thr->Ttmps_floor)
616#define tmps_ix (thr->Ttmps_ix)
617#define tmps_max (thr->Ttmps_max)
618#define tmps_stack (thr->Ttmps_stack)
619#define top_env (thr->Ttop_env)
620#define toptarget (thr->Ttoptarget)
621
622#endif /* USE_THREADS */
623
22239a37
NIS
624#ifdef PERL_GLOBAL_STRUCT
625
3fe35a81
GS
626#define No (Perl_Vars.GNo)
627#define Yes (Perl_Vars.GYes)
22239a37
NIS
628#define amagic_generation (Perl_Vars.Gamagic_generation)
629#define an (Perl_Vars.Gan)
630#define bufend (Perl_Vars.Gbufend)
631#define bufptr (Perl_Vars.Gbufptr)
632#define collation_ix (Perl_Vars.Gcollation_ix)
633#define collation_name (Perl_Vars.Gcollation_name)
634#define collation_standard (Perl_Vars.Gcollation_standard)
635#define collxfrm_base (Perl_Vars.Gcollxfrm_base)
636#define collxfrm_mult (Perl_Vars.Gcollxfrm_mult)
637#define compcv (Perl_Vars.Gcompcv)
638#define compiling (Perl_Vars.Gcompiling)
639#define comppad (Perl_Vars.Gcomppad)
640#define comppad_name (Perl_Vars.Gcomppad_name)
641#define comppad_name_fill (Perl_Vars.Gcomppad_name_fill)
642#define comppad_name_floor (Perl_Vars.Gcomppad_name_floor)
643#define cop_seqmax (Perl_Vars.Gcop_seqmax)
644#define cryptseen (Perl_Vars.Gcryptseen)
645#define cshlen (Perl_Vars.Gcshlen)
646#define cshname (Perl_Vars.Gcshname)
647#define curinterp (Perl_Vars.Gcurinterp)
648#define curthr (Perl_Vars.Gcurthr)
649#define debug (Perl_Vars.Gdebug)
650#define do_undump (Perl_Vars.Gdo_undump)
651#define egid (Perl_Vars.Gegid)
652#define error_count (Perl_Vars.Gerror_count)
653#define euid (Perl_Vars.Geuid)
654#define eval_cond (Perl_Vars.Geval_cond)
655#define eval_mutex (Perl_Vars.Geval_mutex)
656#define eval_owner (Perl_Vars.Geval_owner)
657#define evalseq (Perl_Vars.Gevalseq)
658#define expect (Perl_Vars.Gexpect)
659#define gid (Perl_Vars.Ggid)
660#define he_root (Perl_Vars.Ghe_root)
3fe35a81 661#define hexdigit (Perl_Vars.Ghexdigit)
22239a37
NIS
662#define hints (Perl_Vars.Ghints)
663#define in_my (Perl_Vars.Gin_my)
664#define in_my_stash (Perl_Vars.Gin_my_stash)
665#define last_lop (Perl_Vars.Glast_lop)
666#define last_lop_op (Perl_Vars.Glast_lop_op)
667#define last_uni (Perl_Vars.Glast_uni)
668#define lex_brackets (Perl_Vars.Glex_brackets)
669#define lex_brackstack (Perl_Vars.Glex_brackstack)
670#define lex_casemods (Perl_Vars.Glex_casemods)
671#define lex_casestack (Perl_Vars.Glex_casestack)
672#define lex_defer (Perl_Vars.Glex_defer)
673#define lex_dojoin (Perl_Vars.Glex_dojoin)
674#define lex_expect (Perl_Vars.Glex_expect)
675#define lex_fakebrack (Perl_Vars.Glex_fakebrack)
676#define lex_formbrack (Perl_Vars.Glex_formbrack)
677#define lex_inpat (Perl_Vars.Glex_inpat)
678#define lex_inwhat (Perl_Vars.Glex_inwhat)
679#define lex_op (Perl_Vars.Glex_op)
680#define lex_repl (Perl_Vars.Glex_repl)
681#define lex_starts (Perl_Vars.Glex_starts)
682#define lex_state (Perl_Vars.Glex_state)
683#define lex_stuff (Perl_Vars.Glex_stuff)
684#define linestr (Perl_Vars.Glinestr)
685#define malloc_mutex (Perl_Vars.Gmalloc_mutex)
686#define max_intro_pending (Perl_Vars.Gmax_intro_pending)
687#define maxo (Perl_Vars.Gmaxo)
688#define min_intro_pending (Perl_Vars.Gmin_intro_pending)
689#define multi_close (Perl_Vars.Gmulti_close)
690#define multi_end (Perl_Vars.Gmulti_end)
691#define multi_open (Perl_Vars.Gmulti_open)
692#define multi_start (Perl_Vars.Gmulti_start)
693#define na (Perl_Vars.Gna)
694#define nexttoke (Perl_Vars.Gnexttoke)
695#define nexttype (Perl_Vars.Gnexttype)
696#define nextval (Perl_Vars.Gnextval)
697#define nice_chunk (Perl_Vars.Gnice_chunk)
698#define nice_chunk_size (Perl_Vars.Gnice_chunk_size)
699#define nomemok (Perl_Vars.Gnomemok)
700#define nthreads (Perl_Vars.Gnthreads)
701#define nthreads_cond (Perl_Vars.Gnthreads_cond)
702#define numeric_local (Perl_Vars.Gnumeric_local)
703#define numeric_name (Perl_Vars.Gnumeric_name)
704#define numeric_standard (Perl_Vars.Gnumeric_standard)
705#define oldbufptr (Perl_Vars.Goldbufptr)
706#define oldoldbufptr (Perl_Vars.Goldoldbufptr)
707#define op_seqmax (Perl_Vars.Gop_seqmax)
708#define origalen (Perl_Vars.Gorigalen)
709#define origenviron (Perl_Vars.Gorigenviron)
710#define osname (Perl_Vars.Gosname)
711#define pad_reset_pending (Perl_Vars.Gpad_reset_pending)
712#define padix (Perl_Vars.Gpadix)
713#define padix_floor (Perl_Vars.Gpadix_floor)
3fe35a81 714#define patleave (Perl_Vars.Gpatleave)
22239a37
NIS
715#define pidstatus (Perl_Vars.Gpidstatus)
716#define profiledata (Perl_Vars.Gprofiledata)
717#define rsfp (Perl_Vars.Grsfp)
718#define rsfp_filters (Perl_Vars.Grsfp_filters)
719#define runops (Perl_Vars.Grunops)
720#define scrgv (Perl_Vars.Gscrgv)
721#define sh_path (Perl_Vars.Gsh_path)
722#define sighandlerp (Perl_Vars.Gsighandlerp)
723#define sub_generation (Perl_Vars.Gsub_generation)
724#define subline (Perl_Vars.Gsubline)
725#define subname (Perl_Vars.Gsubname)
726#define sv_mutex (Perl_Vars.Gsv_mutex)
727#define sv_no (Perl_Vars.Gsv_no)
728#define sv_undef (Perl_Vars.Gsv_undef)
729#define sv_yes (Perl_Vars.Gsv_yes)
0bfcb09d 730#define svref_mutex (Perl_Vars.Gsvref_mutex)
22239a37
NIS
731#define thisexpr (Perl_Vars.Gthisexpr)
732#define thr_key (Perl_Vars.Gthr_key)
733#define threads_mutex (Perl_Vars.Gthreads_mutex)
734#define threadsv_names (Perl_Vars.Gthreadsv_names)
735#define tokenbuf (Perl_Vars.Gtokenbuf)
736#define uid (Perl_Vars.Guid)
737#define xiv_arenaroot (Perl_Vars.Gxiv_arenaroot)
738#define xiv_root (Perl_Vars.Gxiv_root)
739#define xnv_root (Perl_Vars.Gxnv_root)
740#define xpv_root (Perl_Vars.Gxpv_root)
741#define xrv_root (Perl_Vars.Gxrv_root)
742
743#else /* !PERL_GLOBAL_STRUCT */
744
3fe35a81
GS
745#define GNo No
746#define GYes Yes
22239a37
NIS
747#define Gamagic_generation amagic_generation
748#define Gan an
749#define Gbufend bufend
750#define Gbufptr bufptr
751#define Gcollation_ix collation_ix
752#define Gcollation_name collation_name
753#define Gcollation_standard collation_standard
754#define Gcollxfrm_base collxfrm_base
755#define Gcollxfrm_mult collxfrm_mult
756#define Gcompcv compcv
757#define Gcompiling compiling
758#define Gcomppad comppad
759#define Gcomppad_name comppad_name
760#define Gcomppad_name_fill comppad_name_fill
761#define Gcomppad_name_floor comppad_name_floor
762#define Gcop_seqmax cop_seqmax
763#define Gcryptseen cryptseen
764#define Gcshlen cshlen
765#define Gcshname cshname
766#define Gcurinterp curinterp
767#define Gcurthr curthr
768#define Gdebug debug
769#define Gdo_undump do_undump
770#define Gegid egid
771#define Gerror_count error_count
772#define Geuid euid
773#define Geval_cond eval_cond
774#define Geval_mutex eval_mutex
775#define Geval_owner eval_owner
776#define Gevalseq evalseq
777#define Gexpect expect
778#define Ggid gid
779#define Ghe_root he_root
3fe35a81 780#define Ghexdigit hexdigit
22239a37
NIS
781#define Ghints hints
782#define Gin_my in_my
783#define Gin_my_stash in_my_stash
784#define Glast_lop last_lop
785#define Glast_lop_op last_lop_op
786#define Glast_uni last_uni
787#define Glex_brackets lex_brackets
788#define Glex_brackstack lex_brackstack
789#define Glex_casemods lex_casemods
790#define Glex_casestack lex_casestack
791#define Glex_defer lex_defer
792#define Glex_dojoin lex_dojoin
793#define Glex_expect lex_expect
794#define Glex_fakebrack lex_fakebrack
795#define Glex_formbrack lex_formbrack
796#define Glex_inpat lex_inpat
797#define Glex_inwhat lex_inwhat
798#define Glex_op lex_op
799#define Glex_repl lex_repl
800#define Glex_starts lex_starts
801#define Glex_state lex_state
802#define Glex_stuff lex_stuff
803#define Glinestr linestr
804#define Gmalloc_mutex malloc_mutex
805#define Gmax_intro_pending max_intro_pending
806#define Gmaxo maxo
807#define Gmin_intro_pending min_intro_pending
808#define Gmulti_close multi_close
809#define Gmulti_end multi_end
810#define Gmulti_open multi_open
811#define Gmulti_start multi_start
812#define Gna na
813#define Gnexttoke nexttoke
814#define Gnexttype nexttype
815#define Gnextval nextval
816#define Gnice_chunk nice_chunk
817#define Gnice_chunk_size nice_chunk_size
818#define Gnomemok nomemok
819#define Gnthreads nthreads
820#define Gnthreads_cond nthreads_cond
821#define Gnumeric_local numeric_local
822#define Gnumeric_name numeric_name
823#define Gnumeric_standard numeric_standard
824#define Goldbufptr oldbufptr
825#define Goldoldbufptr oldoldbufptr
826#define Gop_seqmax op_seqmax
827#define Gorigalen origalen
828#define Gorigenviron origenviron
829#define Gosname osname
830#define Gpad_reset_pending pad_reset_pending
831#define Gpadix padix
832#define Gpadix_floor padix_floor
3fe35a81 833#define Gpatleave patleave
22239a37
NIS
834#define Gpidstatus pidstatus
835#define Gprofiledata profiledata
836#define Grsfp rsfp
837#define Grsfp_filters rsfp_filters
838#define Grunops runops
839#define Gscrgv scrgv
840#define Gsh_path sh_path
841#define Gsighandlerp sighandlerp
842#define Gsub_generation sub_generation
843#define Gsubline subline
844#define Gsubname subname
845#define Gsv_mutex sv_mutex
846#define Gsv_no sv_no
847#define Gsv_undef sv_undef
848#define Gsv_yes sv_yes
0bfcb09d 849#define Gsvref_mutex svref_mutex
22239a37
NIS
850#define Gthisexpr thisexpr
851#define Gthr_key thr_key
852#define Gthreads_mutex threads_mutex
853#define Gthreadsv_names threadsv_names
854#define Gtokenbuf tokenbuf
855#define Guid uid
856#define Gxiv_arenaroot xiv_arenaroot
857#define Gxiv_root xiv_root
858#define Gxnv_root xnv_root
859#define Gxpv_root xpv_root
860#define Gxrv_root xrv_root
861
862#ifdef EMBED
863
3fe35a81
GS
864#define No Perl_No
865#define Yes Perl_Yes
22239a37
NIS
866#define amagic_generation Perl_amagic_generation
867#define an Perl_an
868#define bufend Perl_bufend
869#define bufptr Perl_bufptr
870#define collation_ix Perl_collation_ix
871#define collation_name Perl_collation_name
872#define collation_standard Perl_collation_standard
873#define collxfrm_base Perl_collxfrm_base
874#define collxfrm_mult Perl_collxfrm_mult
875#define compcv Perl_compcv
876#define compiling Perl_compiling
877#define comppad Perl_comppad
878#define comppad_name Perl_comppad_name
879#define comppad_name_fill Perl_comppad_name_fill
880#define comppad_name_floor Perl_comppad_name_floor
881#define cop_seqmax Perl_cop_seqmax
882#define cryptseen Perl_cryptseen
883#define cshlen Perl_cshlen
884#define cshname Perl_cshname
885#define curinterp Perl_curinterp
886#define curthr Perl_curthr
887#define debug Perl_debug
888#define do_undump Perl_do_undump
889#define egid Perl_egid
890#define error_count Perl_error_count
891#define euid Perl_euid
892#define eval_cond Perl_eval_cond
893#define eval_mutex Perl_eval_mutex
894#define eval_owner Perl_eval_owner
895#define evalseq Perl_evalseq
896#define expect Perl_expect
897#define gid Perl_gid
898#define he_root Perl_he_root
3fe35a81 899#define hexdigit Perl_hexdigit
22239a37
NIS
900#define hints Perl_hints
901#define in_my Perl_in_my
902#define in_my_stash Perl_in_my_stash
903#define last_lop Perl_last_lop
904#define last_lop_op Perl_last_lop_op
905#define last_uni Perl_last_uni
906#define lex_brackets Perl_lex_brackets
907#define lex_brackstack Perl_lex_brackstack
908#define lex_casemods Perl_lex_casemods
909#define lex_casestack Perl_lex_casestack
910#define lex_defer Perl_lex_defer
911#define lex_dojoin Perl_lex_dojoin
912#define lex_expect Perl_lex_expect
913#define lex_fakebrack Perl_lex_fakebrack
914#define lex_formbrack Perl_lex_formbrack
915#define lex_inpat Perl_lex_inpat
916#define lex_inwhat Perl_lex_inwhat
917#define lex_op Perl_lex_op
918#define lex_repl Perl_lex_repl
919#define lex_starts Perl_lex_starts
920#define lex_state Perl_lex_state
921#define lex_stuff Perl_lex_stuff
922#define linestr Perl_linestr
923#define malloc_mutex Perl_malloc_mutex
924#define max_intro_pending Perl_max_intro_pending
925#define maxo Perl_maxo
926#define min_intro_pending Perl_min_intro_pending
927#define multi_close Perl_multi_close
928#define multi_end Perl_multi_end
929#define multi_open Perl_multi_open
930#define multi_start Perl_multi_start
931#define na Perl_na
932#define nexttoke Perl_nexttoke
933#define nexttype Perl_nexttype
934#define nextval Perl_nextval
935#define nice_chunk Perl_nice_chunk
936#define nice_chunk_size Perl_nice_chunk_size
937#define nomemok Perl_nomemok
938#define nthreads Perl_nthreads
939#define nthreads_cond Perl_nthreads_cond
940#define numeric_local Perl_numeric_local
941#define numeric_name Perl_numeric_name
942#define numeric_standard Perl_numeric_standard
943#define oldbufptr Perl_oldbufptr
944#define oldoldbufptr Perl_oldoldbufptr
945#define op_seqmax Perl_op_seqmax
946#define origalen Perl_origalen
947#define origenviron Perl_origenviron
948#define osname Perl_osname
949#define pad_reset_pending Perl_pad_reset_pending
950#define padix Perl_padix
951#define padix_floor Perl_padix_floor
3fe35a81 952#define patleave Perl_patleave
22239a37
NIS
953#define pidstatus Perl_pidstatus
954#define profiledata Perl_profiledata
955#define rsfp Perl_rsfp
956#define rsfp_filters Perl_rsfp_filters
957#define runops Perl_runops
958#define scrgv Perl_scrgv
959#define sh_path Perl_sh_path
960#define sighandlerp Perl_sighandlerp
961#define sub_generation Perl_sub_generation
962#define subline Perl_subline
963#define subname Perl_subname
964#define sv_mutex Perl_sv_mutex
965#define sv_no Perl_sv_no
966#define sv_undef Perl_sv_undef
967#define sv_yes Perl_sv_yes
0bfcb09d 968#define svref_mutex Perl_svref_mutex
22239a37
NIS
969#define thisexpr Perl_thisexpr
970#define thr_key Perl_thr_key
971#define threads_mutex Perl_threads_mutex
972#define threadsv_names Perl_threadsv_names
973#define tokenbuf Perl_tokenbuf
974#define uid Perl_uid
975#define xiv_arenaroot Perl_xiv_arenaroot
976#define xiv_root Perl_xiv_root
977#define xnv_root Perl_xnv_root
978#define xpv_root Perl_xpv_root
979#define xrv_root Perl_xrv_root
980
981#endif /* EMBED */
982#endif /* PERL_GLOBAL_STRUCT */
983