… | |
… | |
15 | /* perl-related */ |
15 | /* perl-related */ |
16 | #define CORO_SAVE_DEFAV 0x00000001 /* @_ */ |
16 | #define CORO_SAVE_DEFAV 0x00000001 /* @_ */ |
17 | #define CORO_SAVE_DEFSV 0x00000002 /* $_ */ |
17 | #define CORO_SAVE_DEFSV 0x00000002 /* $_ */ |
18 | #define CORO_SAVE_ERRSV 0x00000004 /* $@ */ |
18 | #define CORO_SAVE_ERRSV 0x00000004 /* $@ */ |
19 | #define CORO_SAVE_IRSSV 0x00000008 /* $/ */ |
19 | #define CORO_SAVE_IRSSV 0x00000008 /* $/ */ |
|
|
20 | #define CORO_SAVE_DEFFH 0x00000010 /* default filehandle */ |
20 | |
21 | |
21 | #define CORO_SAVE_ALL ( CORO_SAVE_DEFAV \ |
22 | #define CORO_SAVE_ALL ( CORO_SAVE_DEFAV \ |
22 | | CORO_SAVE_DEFSV \ |
23 | | CORO_SAVE_DEFSV \ |
23 | | CORO_SAVE_ERRSV \ |
24 | | CORO_SAVE_ERRSV \ |
24 | | CORO_SAVE_IRSSV ) |
25 | | CORO_SAVE_IRSSV \ |
|
|
26 | | CORO_SAVE_DEFFH) |
|
|
27 | |
|
|
28 | #define CORO_SAVE_DEF CORO_SAVE_ALL |
25 | |
29 | |
26 | /*struct coro;*/ /* opaque */ |
30 | /*struct coro;*/ /* opaque */ |
27 | |
31 | |
28 | /* private structure, always use the provided macros below */ |
32 | /* private structure, always use the provided macros below */ |
29 | struct CoroAPI { |
33 | struct CoroAPI { |