Skip to main content

pamoja_serial_script_len

Function pamoja_serial_script_len 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_serial_script_len( script: *const PamojaSerialScript, ) -> usize
Expand description

Returns how many steps a script holds.

§Arguments

  • script - the script.

§Returns

The count, or 0 for a null script.

§Safety

script must be a live handle or null.