Skip to main content

slot_at

Function slot_at 

Source
pub fn slot_at(base: *mut c_void, index: i64) -> *mut CodeValue
Expand description

Addresses slot index of a CODE_VALUE_SLOT_SIZE-strided buffer — the Rust equivalent of code_abi.h’s code_slot_at. Pure pointer arithmetic, safe to reimplement independently (no allocator/refcount logic to drift from runtime.c).