cairo_native_runtime

Function cairo_native__alloc_dict

source
#[no_mangle]
pub unsafe extern "C" fn cairo_native__alloc_dict() -> *mut c_void
Expand description

Allocates a new dictionary. Internally a rust hashmap: HashMap<[u8; 32], NonNull<()>

ยงSafety

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