Type Definition ssvm_evmc_sys::evmc_set_option_fn[][src]

type evmc_set_option_fn = Option<unsafe extern "C" fn(vm: *mut evmc_vm, name: *const c_char, value: *const c_char) -> evmc_set_option_result>;

Configures the VM instance.

Allows modifying options of the VM instance. Options:

  • code cache behavior: on, off, read-only, ...
  • optimizations,

@param vm The VM 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.