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.157 by root, Fri Sep 21 02:01:13 2007 UTC vs.
Revision 1.158 by root, Fri Sep 21 02:23:48 2007 UTC

88/* prefer perl internal functions over our own? */ 88/* prefer perl internal functions over our own? */
89#ifndef CORO_PREFER_PERL_FUNCTIONS 89#ifndef CORO_PREFER_PERL_FUNCTIONS
90# define CORO_PREFER_PERL_FUNCTIONS 0 90# define CORO_PREFER_PERL_FUNCTIONS 0
91#endif 91#endif
92 92
93/* The next macro should declare a variable stacklevel that contains and approximation 93/* The next macros try to return the current stack pointer, in an as
94 * to the current C stack pointer. Its property is that it changes with each call 94 * portable way as possible. */
95 * and should be unique. */
96#define dSTACKLEVEL int stacklevel 95#define dSTACKLEVEL volatile char stacklevel
97#define STACKLEVEL ((void *)&stacklevel) 96#define STACKLEVEL ((void *)&stacklevel)
98 97
99#define IN_DESTRUCT (PL_main_cv == Nullcv) 98#define IN_DESTRUCT (PL_main_cv == Nullcv)
100 99
101#if __GNUC__ >= 3 100#if __GNUC__ >= 3
424 423
425 if (top_si->si_type == PERLSI_MAIN) 424 if (top_si->si_type == PERLSI_MAIN)
426 break; 425 break;
427 426
428 top_si = top_si->si_prev; 427 top_si = top_si->si_prev;
429 ccstk = top_si->si_cxstack; 428 ccstk = top_si->si_cxstack;
430 cxix = top_si->si_cxix; 429 cxix = top_si->si_cxix;
431 } 430 }
432 431
433 PUTBACK; 432 PUTBACK;
434 } 433 }
435 434

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines