rb_memory_view_get_item_pointer

Function rb_memory_view_get_item_pointer 

Source
pub unsafe extern "C" fn rb_memory_view_get_item_pointer(
    view: *mut rb_memory_view_t,
    indices: *const ssize_t,
) -> *mut c_void
Expand description

Calculate the location of the item indicated by the given indices.

The length of indices must equal to view->ndim.

ยงThis function initializes view->item_desc if needed.

Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3