Ruby 4.0.7p0 (2026-09-15 revision 229531a6cfbf07e3caef30dbac24a2a3f3fed482)
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: