Ruby 4.0.6p0 (2026-07-14 revision 03b6d3f8898a28604fe6cb00eae3226b821168f4)
rb_memory_view_t::[struct].item_desc Struct Reference

Description of each components. More...

Data Fields

const rb_memory_view_item_component_tcomponents
 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: