Ruby 4.0.9p0 (2026-10-23 revision 3e93b23afcec3433f6aecc34b5d832799d754238)
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: