Ruby: rb_global_variable Struct Reference

Ruby 3.4.4p34 (2025-05-14 revision a38531fd3f617bf734ef7d6c595325f69985ea1d)

Data Fields
rb_global_variable Struct Reference

## Data Fields
int | counter
int | block_trace
VALUE * | data
rb_gvar_getter_t * | getter
rb_gvar_setter_t * | setter
rb_gvar_marker_t * | marker
rb_gvar_compact_t * | compactor
struct trace_var * | trace

## Detailed Description

Definition at line 519 of file variable.c.

## Field Documentation

## ◆ block_trace

int rb_global_variable::block_trace

Definition at line 521 of file variable.c.

## ◆ compactor

rb_gvar_compact_t* rb_global_variable::compactor

Definition at line 526 of file variable.c.

## ◆ counter

int rb_global_variable::counter

Definition at line 520 of file variable.c.

## ◆ data

VALUE* rb_global_variable::data

Definition at line 522 of file variable.c.

## ◆ getter

rb_gvar_getter_t* rb_global_variable::getter

Definition at line 523 of file variable.c.

## ◆ marker

rb_gvar_marker_t* rb_global_variable::marker

Definition at line 525 of file variable.c.

## ◆ setter

rb_gvar_setter_t* rb_global_variable::setter

Definition at line 524 of file variable.c.

## ◆ trace

struct trace_var* rb_global_variable::trace

Definition at line 527 of file variable.c.

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

- variable.c