cairo_native_runtime

Function cairo_native__dict_gas_refund

Source
#[no_mangle]
pub unsafe extern "C" fn cairo_native__dict_gas_refund(
    ptr: *const FeltDict,
) -> u64
Expand description

Compute the total gas refund for the dictionary at squash time.

ยงSafety

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