evmc_get_capabilities_fn

Type Alias evmc_get_capabilities_fn 

Source
pub type evmc_get_capabilities_fn = Option<unsafe extern "C" fn(vm: *mut evmc_vm) -> evmc_capabilities_flagset>;
Expand description

Return the supported capabilities of the VM instance.

This function MAY be invoked multiple times for a single VM instance, and its value MAY be influenced by calls to evmc_vm::set_option.

@param vm The VM instance. @return The supported capabilities of the VM. @see evmc_capabilities.

Aliased Type§

pub enum evmc_get_capabilities_fn {
    None,
    Some(unsafe extern "C" fn(*mut evmc_vm) -> u32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut evmc_vm) -> u32)

Some value of type T.