#[no_mangle]
pub unsafe extern "C" fn cairo_native__dict_drop(
ptr: *mut FeltDict,
drop_fn: Option<extern "C" fn(_: *mut c_void)>,
)
Expand description
Free a dictionary using an optional callback to drop each element.
The drop_fn
callback is present when the value implements Drop
.
ยงSafety
This function is intended to be called from MLIR, deals with pointers, and is therefore definitely unsafe to use manually.