Skip to main content

playground_mint

Function playground_mint 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn playground_mint( 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.