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.6 by root, Thu Oct 4 13:45:56 2007 UTC vs.
Revision 1.7 by root, Sun Oct 7 03:58:37 2007 UTC

1/* list the interpreter variables that need to be saved/restored */ 1/* list the interpreter variables that need to be saved/restored */
2/* mostly copied from thrdvar.h */ 2/* mostly copied from thrdvar.h */
3 3
4VAR(defoutgv, GV *) /* default FH for output */ 4VAR(defoutgv, GV *) /* default FH for output */
5VAR(stack_sp, SV **) /* top of the stack */ 5VAR(stack_sp, SV **) /* the main stack */
6#ifdef OP_IN_REGISTER 6#ifdef OP_IN_REGISTER
7VAR(opsave, OP *) /* probably not necessary */ 7VAR(opsave, OP *) /* probably not necessary */
8#else 8#else
9VAR(op, OP *) /* currently executing op */ 9VAR(op, OP *) /* currently executing op */
10#endif 10#endif
45VAR(in_eval, int) /* trap "fatal" errors? */ 45VAR(in_eval, int) /* trap "fatal" errors? */
46VAR(localizing, int) /* are we processing a local() list? */ 46VAR(localizing, int) /* are we processing a local() list? */
47 47
48VAR(curstack, AV *) /* THE STACK */ 48VAR(curstack, AV *) /* THE STACK */
49VAR(curstackinfo, PERL_SI *) /* current stack + context */ 49VAR(curstackinfo, PERL_SI *) /* current stack + context */
50VAR(mainstack, AV *) /* the stack when nothing funny is happening */
51 50
52VAR(sortcop, OP *) /* user defined sort routine */ 51VAR(sortcop, OP *) /* user defined sort routine */
53VAR(sortstash, HV *) /* which is in some package or other */ 52VAR(sortstash, HV *) /* which is in some package or other */
54#if !PERL_VERSION_ATLEAST (5,9,0) 53#if !PERL_VERSION_ATLEAST (5,9,0)
55VAR(sortcxix, I32) /* from pp_ctl.c */ 54VAR(sortcxix, I32) /* from pp_ctl.c */
59 58
60/* compcv is intrpvar, but seems to be thread-specific to me */ 59/* compcv is intrpvar, but seems to be thread-specific to me */
61/* but, well, I thoroughly misunderstand what thrdvar and intrpvar is. still. */ 60/* but, well, I thoroughly misunderstand what thrdvar and intrpvar is. still. */
62VAR(compcv, CV *) /* currently compiling subroutine */ 61VAR(compcv, CV *) /* currently compiling subroutine */
63 62
63VAR(diehook, SV *)
64VAR(warnhook, SV *)
64VAR(runops, runops_proc_t) /* for tracing support */ 65VAR(runops, runops_proc_t) /* for tracing support */
65 66

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines