Type Definition ssvm_evmc_sys::evmc_set_option_fn [−][src]
pub type evmc_set_option_fn = Option<unsafe extern "C" fn(evm: *mut evmc_instance, name: *const c_char, value: *const c_char) -> evmc_set_option_result>;
Expand description
Configures the EVM instance.
Allows modifying options of the EVM instance. Options:
- code cache behavior: on, off, read-only, …
- optimizations,
@param evm The EVM instance to be configured. @param name The option name. NULL-terminated string. Cannot be NULL. @param value The new option value. NULL-terminated string. Cannot be NULL. @return The outcome of the operation.