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

Comparing Coro/Coro/State.xs (file contents):
Revision 1.65 by root, Mon Dec 5 23:50:48 2005 UTC vs.
Revision 1.66 by root, Mon Dec 12 19:43:41 2005 UTC

128 I32 savestack_ix; 128 I32 savestack_ix;
129 I32 savestack_max; 129 I32 savestack_max;
130 OP **retstack; 130 OP **retstack;
131 I32 retstack_ix; 131 I32 retstack_ix;
132 I32 retstack_max; 132 I32 retstack_max;
133 PMOP *curpm;
133 COP *curcop; 134 COP *curcop;
134 JMPENV *top_env; 135 JMPENV *top_env;
135 136
136 /* data associated with this coroutine (initial args) */ 137 /* data associated with this coroutine (initial args) */
137 AV *args; 138 AV *args;
347 PL_savestack_ix = c->savestack_ix; 348 PL_savestack_ix = c->savestack_ix;
348 PL_savestack_max = c->savestack_max; 349 PL_savestack_max = c->savestack_max;
349 PL_retstack = c->retstack; 350 PL_retstack = c->retstack;
350 PL_retstack_ix = c->retstack_ix; 351 PL_retstack_ix = c->retstack_ix;
351 PL_retstack_max = c->retstack_max; 352 PL_retstack_max = c->retstack_max;
353 PL_curpm = c->curpm;
352 PL_curcop = c->curcop; 354 PL_curcop = c->curcop;
353 PL_top_env = c->top_env; 355 PL_top_env = c->top_env;
354 356
355 if (c->defav) REPLACE_SV (GvAV (PL_defgv), c->defav); 357 if (c->defav) REPLACE_SV (GvAV (PL_defgv), c->defav);
356 if (c->defsv) REPLACE_SV (DEFSV , c->defsv); 358 if (c->defsv) REPLACE_SV (DEFSV , c->defsv);
472 c->savestack_ix = PL_savestack_ix; 474 c->savestack_ix = PL_savestack_ix;
473 c->savestack_max = PL_savestack_max; 475 c->savestack_max = PL_savestack_max;
474 c->retstack = PL_retstack; 476 c->retstack = PL_retstack;
475 c->retstack_ix = PL_retstack_ix; 477 c->retstack_ix = PL_retstack_ix;
476 c->retstack_max = PL_retstack_max; 478 c->retstack_max = PL_retstack_max;
479 c->curpm = PL_curpm;
477 c->curcop = PL_curcop; 480 c->curcop = PL_curcop;
478 c->top_env = PL_top_env; 481 c->top_env = PL_top_env;
479} 482}
480 483
481/* 484/*

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines