ab_system_contract_state::ffi::is_empty

Function is_empty

Source
pub unsafe extern "C" fn is_empty(
    args: NonNull<InternalArgs>,
) -> ExitCode
Expand description

FFI interface into a method, called by the host.

NOTE: Calling this function directly shouldn’t be necessary except maybe in contract’s own tests.

§Safety

Caller must ensure the provided pointer corresponds to expected ABI.