Ruby: RStruct Struct Reference

Ruby 3.2.5p208 (2024-07-26 revision 31d0f1a2e7dbfb60731d1f05b868e1d578cda493)

Data Fields
RStruct Struct Reference

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

## Detailed Description

Definition at line 22 of file struct.h.

## Field Documentation

## ◆ ary

const VALUE RStruct::ary[RSTRUCT_EMBED_LEN_MAX]

Definition at line 29 of file struct.h.

## ◆ basic

struct RBasic RStruct::basic

Definition at line 23 of file struct.h.

## ◆ len

long RStruct::len

Definition at line 26 of file struct.h.

## ◆ ptr

const VALUE* RStruct::ptr

Definition at line 27 of file struct.h.

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

- internal/struct.h