Skip to main content

pamoja_i2c_script_len

Function pamoja_i2c_script_len 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_i2c_script_len( script: *const PamojaI2cScript, ) -> 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.