wasmi_context_set_fuel

Function wasmi_context_set_fuel 

Source
#[unsafe(no_mangle)]
pub extern "C" fn wasmi_context_set_fuel( store: StoreContextMut<'_, WasmiStoreData>, fuel: u64, ) -> Option<Box<wasmi_error_t>>
Expand description

Sets the current fuel of the Wasmi store context to fuel.

Wraps Store::set_fuel.

ยงErrors

If Store::set_fuel errors.