#[no_mangle]
pub extern "C" fn wasmi_context_get_fuel(
store: StoreContext<'_, WasmiStoreData>,
fuel: &mut u64,
) -> Option<Box<wasmi_error_t>>
Expand description
Returns the current fuel of the Wasmi store context in fuel
.
Wraps Store::get_fuel
.
ยงErrors
If Store::get_fuel
errors.