Skip to main content

runtime_plugin_run_tx_v1

Function runtime_plugin_run_tx_v1 

Source
pub unsafe fn runtime_plugin_run_tx_v1(
    runtime: *mut c_void,
    host: RuntimeHostContextV1,
    command: RuntimeCommandView,
    out_error: *mut RuntimeErrorBuf,
) -> RuntimeCallStatus
Expand description

Runs one command transaction through the v1 ABI helper.

ยงSafety

runtime must be a live plugin handle, host must contain a valid host context and vtable for the duration of the call, and command.payload and out_error must remain valid for the duration of the call.