ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/Coro/state.h
Revision: 1.9
Committed: Sun Apr 6 19:23:50 2008 UTC (16 years, 2 months ago) by root
Content type: text/plain
Branch: MAIN
CVS Tags: rel-4_91, rel-5_0, rel-4_748, rel-4_8, rel-4_9, rel-4_741, rel-4_743, rel-4_742, rel-4_744, rel-4_747, rel-4_74, rel-4_71, rel-4_72, rel-4_73, rel-4_802, rel-4_803, rel-4_801, rel-4_804, rel-4_479, rel-4_50, rel-4_51, rel-4_745, rel-4_901, rel-4_49, rel-4_746, rel-4_7, rel-4_911, rel-4_912
Changes since 1.8: +1 -1 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 /* list the interpreter variables that need to be saved/restored */
2 /* mostly copied from thrdvar.h */
3
4 VAR(defoutgv, GV *) /* default FH for output */
5 VAR(stack_sp, SV **) /* the main stack */
6 #ifdef OP_IN_REGISTER
7 VAR(opsave, OP *) /* probably not necessary */
8 #else
9 VAR(op, OP *) /* currently executing op */
10 #endif
11 VAR(curpad, SV **) /* active pad (lexicals+tmps) */
12
13 VAR(stack_base, SV **)
14 VAR(stack_max, SV **)
15
16 VAR(scopestack, I32 *) /* scopes we've ENTERed */
17 VAR(scopestack_ix, I32)
18 VAR(scopestack_max,I32)
19
20 VAR(savestack, ANY *) /* items that need to be restored
21 when LEAVEing scopes we've ENTERed */
22 VAR(savestack_ix, I32)
23 VAR(savestack_max, I32)
24
25 VAR(tmps_stack, SV **) /* mortals we've made */
26 VAR(tmps_ix, I32)
27 VAR(tmps_floor, I32)
28 VAR(tmps_max, I32)
29
30 VAR(markstack, I32 *) /* stack_sp locations we're remembering */
31 VAR(markstack_ptr, I32 *)
32 VAR(markstack_max, I32 *)
33
34 #if !PERL_VERSION_ATLEAST (5,9,0)
35 VAR(retstack, OP **) /* OPs we have postponed executing */
36 VAR(retstack_ix, I32)
37 VAR(retstack_max, I32)
38 #endif
39
40 VAR(tainted, bool) /* using variables controlled by $< */
41 VAR(curpm, PMOP *) /* what to do \ interps in REs from */
42 VAR(rs, SV *) /* input record separator $/ */
43 VAR(curcop, COP *)
44
45 VAR(in_eval, int) /* trap "fatal" errors? */
46 VAR(localizing, int) /* are we processing a local() list? */
47
48 VAR(curstack, AV *) /* THE STACK */
49 VAR(curstackinfo, PERL_SI *) /* current stack + context */
50
51 VAR(sortcop, OP *) /* user defined sort routine */
52 VAR(sortstash, HV *) /* which is in some package or other */
53 #if !PERL_VERSION_ATLEAST (5,9,0)
54 VAR(sortcxix, I32) /* from pp_ctl.c */
55 #endif
56
57 VAR(comppad, AV *) /* storage for lexically scoped temporaries */
58
59 /* compcv is intrpvar, but seems to be thread-specific to me */
60 /* but, well, I thoroughly misunderstand what thrdvar and intrpvar is. still. */
61 VAR(compcv, CV *) /* currently compiling subroutine */
62
63 VAR(diehook, SV *)
64 VAR(warnhook, SV *)
65 VAR(runops, runops_proc_t) /* for tracing support */
66
67 #if PERL_VERSION_ATLEAST (5,10,0)
68 VAR(parser, yy_parser *)
69 #endif
70