Skip to main content

pamoja_updater_slot_count

Function pamoja_updater_slot_count 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_updater_slot_count( updater: *const PamojaUpdater, ) -> u8
Expand description

Returns how many slots a device has.

§Arguments

  • updater - the updater.

§Returns

The slot count, or 0 if updater is null.

§Safety

updater must be a live handle from pamoja_updater_new, or null.