Ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a25176072e02db9254f0e0c84c805cd)
|
Go to the source code of this file.
Data Structures | |
struct | coroutine_context |
Macros | |
#define | COROUTINE __attribute__((noreturn)) void |
Typedefs | |
typedef COROUTINE(* | coroutine_start) (struct coroutine_context *from, struct coroutine_context *self) |
Enumerations | |
enum | { COROUTINE_REGISTERS = 6 } |
Functions | |
struct coroutine_context * | coroutine_transfer (struct coroutine_context *current, struct coroutine_context *target) |
#define COROUTINE __attribute__((noreturn)) void |
typedef COROUTINE(* coroutine_start) (struct coroutine_context *from, struct coroutine_context *self) |
struct coroutine_context * coroutine_transfer | ( | struct coroutine_context * | current, |
struct coroutine_context * | target | ||
) |
Definition at line 136 of file Context.c.
References assert, coroutine_context::base, coroutine_restore_stack(), coroutine_save_stack(), coroutine_context::from, and coroutine_context::stack.