cairo_native_runtime

Function cairo_native__dict_get

source
#[no_mangle]
pub unsafe extern "C" fn cairo_native__dict_get(
    ptr: *mut FeltDict,
    key: &[u8; 32],
) -> *mut c_void
Expand description

Gets the value for a given key, the returned pointer is null if not found. Increments the access count.

ยงSafety

This function is intended to be called from MLIR, deals with pointers, and is therefore definitely unsafe to use manually.