#[no_mangle]
pub unsafe extern "C" fn cairo_native__dict_get(
dict: &mut FeltDict,
key: &[u8; 32],
value_ptr: *mut *mut c_void,
) -> c_int
Expand description
Return a pointer to the entry’s value pointer for a given key, inserting a null pointer if not present. Increment the access count.
The null pointer will be either updated by felt252_dict_entry_finalize
or removed (along with
everything else in the dict) by the entry’s drop implementation.
§Safety
This function is intended to be called from MLIR, deals with pointers, and is therefore definitely unsafe to use manually.