Ruby  2.7.1p83(2020-03-31revisiona0c7c23c9cec0d0ffcba012279cd652d28ad5bf3)
Data Structures | Macros | Typedefs | Enumerations | Functions
Context.h File Reference
#include <assert.h>
#include <string.h>

Go to the source code of this file.

Data Structures

struct  coroutine_context
 

Macros

#define COROUTINE   __attribute__((noreturn, fastcall)) void
 
#define COROUTINE_LIMITED_ADDRESS_SPACE
 

Typedefs

typedef COROUTINE(* coroutine_start) (struct coroutine_context *from, struct coroutine_context *self) __attribute__((fastcall))
 

Enumerations

enum  { COROUTINE_REGISTERS = 4 }
 

Functions

struct coroutine_contextcoroutine_transfer (struct coroutine_context *current, struct coroutine_context *target) __attribute__((fastcall))
 

Macro Definition Documentation

◆ COROUTINE

#define COROUTINE   __attribute__((noreturn, fastcall)) void

Definition at line 13 of file Context.h.

◆ COROUTINE_LIMITED_ADDRESS_SPACE

#define COROUTINE_LIMITED_ADDRESS_SPACE

Definition at line 14 of file Context.h.

Typedef Documentation

◆ coroutine_start

typedef COROUTINE(* coroutine_start) (struct coroutine_context *from, struct coroutine_context *self) __attribute__((fastcall))

Definition at line 23 of file Context.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
COROUTINE_REGISTERS 

Definition at line 16 of file Context.h.

Function Documentation

◆ coroutine_transfer()

struct coroutine_context* coroutine_transfer ( struct coroutine_context current,
struct coroutine_context target 
)