Ruby  2.1.10p492(2016-04-01revision54464)
Data Fields
rb_context_struct Struct Reference

Data Fields

enum context_type type
 
VALUE self
 
int argc
 
VALUE value
 
VALUEvm_stack
 
size_t vm_stack_slen
 
size_t vm_stack_clen
 
struct {
   VALUE *   stack
 
   VALUE *   stack_src
 
   size_t   stack_size
 
machine
 
rb_thread_t saved_thread
 
rb_jmpbuf_t jmpbuf
 
rb_ensure_entry_tensure_array
 
rb_ensure_list_tensure_list
 

Detailed Description

Definition at line 90 of file cont.c.

Field Documentation

◆ argc

int rb_context_struct::argc

Definition at line 93 of file cont.c.

Referenced by cont_capture(), fiber_store(), fiber_switch(), rb_cont_call(), and rb_fiber_start().

◆ ensure_array

rb_ensure_entry_t* rb_context_struct::ensure_array

Definition at line 112 of file cont.c.

Referenced by cont_capture(), cont_free(), and rb_cont_call().

◆ ensure_list

rb_ensure_list_t* rb_context_struct::ensure_list

Definition at line 113 of file cont.c.

◆ jmpbuf

rb_jmpbuf_t rb_context_struct::jmpbuf

Definition at line 111 of file cont.c.

Referenced by cont_capture(), cont_restore_1(), fiber_init(), and fiber_store().

◆ machine

struct { ... } rb_context_struct::machine

◆ saved_thread

rb_thread_t rb_context_struct::saved_thread

◆ self

VALUE rb_context_struct::self

◆ stack

VALUE* rb_context_struct::stack

◆ stack_size

size_t rb_context_struct::stack_size

◆ stack_src

VALUE* rb_context_struct::stack_src

Definition at line 102 of file cont.c.

Referenced by cont_restore_0(), cont_restore_1(), and cont_save_machine_stack().

◆ type

enum context_type rb_context_struct::type

◆ value

VALUE rb_context_struct::value

◆ vm_stack

VALUE* rb_context_struct::vm_stack

Definition at line 95 of file cont.c.

Referenced by cont_capture(), cont_free(), cont_mark(), cont_memsize(), cont_restore_thread(), and fiber_init().

◆ vm_stack_clen

size_t rb_context_struct::vm_stack_clen

Definition at line 98 of file cont.c.

Referenced by cont_capture(), cont_mark(), cont_memsize(), and cont_restore_thread().

◆ vm_stack_slen

size_t rb_context_struct::vm_stack_slen

Definition at line 97 of file cont.c.

Referenced by cont_capture(), cont_mark(), cont_memsize(), and cont_restore_thread().


The documentation for this struct was generated from the following file: