#[unsafe(no_mangle)]pub extern "C" fn pamoja_updater_new(
device: PamojaDevice,
slot_count: u8,
slot_capacity: u32,
) -> *mut PamojaUpdaterExpand description
Creates an updater over a device slots.
§Arguments
device- who the device is and whose signature it trusts.slot_count- how many slots the device has.slot_capacity- how many bytes each slot holds.
§Returns
A handle the caller must release with pamoja_updater_free, or null if the
anchor is not a valid public key.