Type Alias RawEvmCompilerFn

Source
pub type RawEvmCompilerFn = unsafe extern "C" fn(gas: *mut Gas, stack: *mut EvmStack, stack_len: *mut usize, env: *const Env, contract: *const Contract, ecx: *mut EvmContext<'_>) -> InstructionResult;
Expand description

The raw function signature of a bytecode function.

Prefer using EvmCompilerFn instead of this type. See EvmCompilerFn::call for more information.

Trait Implementations§

Source§

impl From<EvmCompilerFn> for RawEvmCompilerFn

Source§

fn from(f: EvmCompilerFn) -> Self

Converts to this type from the input type.