Ruby: rb_global_entry Struct Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Data Fields
rb_global_entry Struct Reference

## Data Fields
struct rb_global_variable * | var
ID | id
bool | ractor_local

## Detailed Description

Definition at line 331 of file variable.c.

## Field Documentation

## ◆ id

ID rb_global_entry::id

Definition at line 333 of file variable.c.

Referenced by rb_alias_variable(), and rb_gvar_get().

## ◆ ractor_local

bool rb_global_entry::ractor_local

Definition at line 334 of file variable.c.

Referenced by rb_gvar_ractor_local().

## ◆ var

struct rb_global_variable* rb_global_entry::var

Definition at line 332 of file variable.c.

Referenced by rb_alias_variable(), rb_define_hooked_variable(), rb_f_trace_var(), rb_f_untrace_var(), rb_gvar_defined(), rb_gvar_get(), rb_gvar_getter_function_of(), rb_gvar_setter_function_of(), rb_gvar_undef_setter(), and rb_gvar_val_setter().

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

- variable.c