Ruby: RObject Struct Reference

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

Data Fields
RObject Struct Reference

`#include <robject.h>`

## Data Fields
struct RBasic | basic
union {
struct {
uint32_t numiv
VALUE * ivptr
struct st_table * iv_index_tbl
} heap
VALUE ary [ROBJECT_EMBED_LEN_MAX]
} | as

## Detailed Description

Definition at line 52 of file robject.h.

## Field Documentation

## ◆ ary

VALUE RObject::ary[ROBJECT_EMBED_LEN_MAX]

Definition at line 60 of file robject.h.

## ◆

union { ... } RObject::as

## ◆ basic

struct RBasic RObject::basic

Definition at line 53 of file robject.h.

## ◆

struct { ... } RObject::heap

## ◆ iv_index_tbl

struct st_table* RObject::iv_index_tbl

Definition at line 58 of file robject.h.

## ◆ ivptr

VALUE* RObject::ivptr

Definition at line 57 of file robject.h.

## ◆ numiv

uint32_t RObject::numiv

Definition at line 56 of file robject.h.

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

- include/ruby/internal/core/robject.h