Skip to main content

code_read

Function code_read 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn code_read( args: &mut 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 the expected ABI.