Ruby 4.1.0dev (2026-12-06 revision 6b501f5444cf675f4a654bda46c812e2c1df9fb8)
RStruct Struct Reference

Data Fields

struct RBasic basic
VALUE fields_obj
union { 
   struct { 
      rb_len_t   len 
      const VALUE *   ptr 
   }   heap
   const VALUE   ary [1] 
} as

Detailed Description

Definition at line 28 of file struct.h.

Field Documentation

◆ ary

const VALUE RStruct::ary[1]

Definition at line 41 of file struct.h.

◆ basic

struct RBasic RStruct::basic

Definition at line 29 of file struct.h.

◆ fields_obj

VALUE RStruct::fields_obj

Definition at line 30 of file struct.h.

◆ len

rb_len_t RStruct::len

Definition at line 33 of file struct.h.

◆ ptr

const VALUE* RStruct::ptr

Definition at line 34 of file struct.h.


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