ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/Coro/state.h
(Generate patch)

Comparing Coro/Coro/state.h (file contents):
Revision 1.1 by root, Mon Nov 27 18:15:48 2006 UTC vs.
Revision 1.2 by root, Sat Dec 2 20:40:25 2006 UTC

1/* list the interpreter variables that need to be saved/restored */
1/* mostly copied from thrdvar.h */ 2/* mostly copied from thrdvar.h */
2 3
3VAR(stack_sp, SV **) /* top of the stack */ 4VAR(stack_sp, SV **) /* top of the stack */
4VAR(op, OP *) /* currently executing op */ 5VAR(op, OP *) /* currently executing op */
5VAR(curpad, SV **) /* active pad (lexicals+tmps) */ 6VAR(curpad, SV **) /* active pad (lexicals+tmps) */
10VAR(scopestack, I32 *) /* scopes we've ENTERed */ 11VAR(scopestack, I32 *) /* scopes we've ENTERed */
11VAR(scopestack_ix, I32) 12VAR(scopestack_ix, I32)
12VAR(scopestack_max,I32) 13VAR(scopestack_max,I32)
13 14
14VAR(savestack, ANY *) /* items that need to be restored 15VAR(savestack, ANY *) /* items that need to be restored
15 when LEAVEing scopes we've ENTERed */ 16 when LEAVEing scopes we've ENTERed */
16VAR(savestack_ix, I32) 17VAR(savestack_ix, I32)
17VAR(savestack_max, I32) 18VAR(savestack_max, I32)
18 19
19VAR(tmps_stack, SV **) /* mortals we've made */ 20VAR(tmps_stack, SV **) /* mortals we've made */
20VAR(tmps_ix, I32) 21VAR(tmps_ix, I32)
21VAR(tmps_floor, I32) 22VAR(tmps_floor, I32)
22VAR(tmps_max, I32) 23VAR(tmps_max, I32)
23 24
24VAR(markstack, I32 *) /* stack_sp locations we're remembering */ 25VAR(markstack, I32 *) /* stack_sp locations we're remembering */
25VAR(markstack_ptr, I32 *) 26VAR(markstack_ptr, I32 *)
26VAR(markstack_max, I32 *) 27VAR(markstack_max, I32 *)
32#endif 33#endif
33 34
34VAR(curpm, PMOP *) /* what to do \ interps in REs from */ 35VAR(curpm, PMOP *) /* what to do \ interps in REs from */
35VAR(curcop, COP *) 36VAR(curcop, COP *)
36 37
37VAR(restartop, OP *) /* propagating an error from croak? */
38VAR(in_eval, int) /* trap "fatal" errors? */ 38VAR(in_eval, int) /* trap "fatal" errors? */
39VAR(localizing, int) /* are we processing a local() list? */ 39VAR(localizing, int) /* are we processing a local() list? */
40 40
41VAR(curstack, AV *) /* THE STACK */ 41VAR(curstack, AV *) /* THE STACK */
42VAR(curstackinfo, PERL_SI *) /* current stack + context */ 42VAR(curstackinfo, PERL_SI *) /* current stack + context */
44VAR(sortcop, OP *) /* user defined sort routine */ 44VAR(sortcop, OP *) /* user defined sort routine */
45VAR(sortstash, HV *) /* which is in some package or other */ 45VAR(sortstash, HV *) /* which is in some package or other */
46VAR(sortcxix, I32) /* from pp_ctl.c */ 46VAR(sortcxix, I32) /* from pp_ctl.c */
47 47
48VAR(comppad, AV *) /* storage for lexically scoped temporaries */ 48VAR(comppad, AV *) /* storage for lexically scoped temporaries */
49

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines