Ruby: RArray Struct Reference

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

Data Fields
RArray Struct Reference

`#include <rarray.h>`

## Data Fields
struct RBasic | basic
union {
struct {
long len
union {
long capa
const VALUE shared_root
} aux
const VALUE * ptr
} heap
const VALUE ary [RARRAY_EMBED_LEN_MAX]
} | as

## Detailed Description

Definition at line 87 of file rarray.h.

## Field Documentation

## ◆ ary

const VALUE RArray::ary[RARRAY_EMBED_LEN_MAX]

Definition at line 103 of file rarray.h.

## ◆

union { ... } RArray::as

## ◆

union { ... } RArray::aux

## ◆ basic

struct RBasic RArray::basic

Definition at line 88 of file rarray.h.

## ◆ capa

long RArray::capa

Definition at line 93 of file rarray.h.

## ◆

struct { ... } RArray::heap

## ◆ len

long RArray::len

Definition at line 91 of file rarray.h.

## ◆ ptr

const VALUE* RArray::ptr

Definition at line 101 of file rarray.h.

## ◆ shared_root

const VALUE RArray::shared_root

Definition at line 99 of file rarray.h.

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

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