Ruby 4.0.10p0 (2026-11-19 revision a704b7cd95a42cc0cf5f307137bf3aac0285b915)
rb_memory_view_t::[struct].item_desc Struct Reference

Description of each components. More...

Data Fields

const rb_memory_view_item_component_t * components
 The array of rb_memory_view_item_component_t that describes the item structure.
size_t length
 The number of components in an item.

Detailed Description

Description of each components.

Definition at line 119 of file memory_view.h.

Field Documentation

◆ components

const rb_memory_view_item_component_t* rb_memory_view_t::[struct].item_desc components

The array of rb_memory_view_item_component_t that describes the item structure.

rb_memory_view_prepare_item_desc and rb_memory_view_get_item allocate this memory if needed, and rb_memory_view_release frees it.

◆ length

The number of components in an item.


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