Skip to main content

pamoja_replay_read

Function pamoja_replay_read 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_replay_read( replay: *mut PamojaReplay, out_reading: *mut f32, ) -> PamojaStatus
Expand description

Takes the next reading from a replay.

§Arguments

  • replay - the replay.
  • out_reading - receives the reading.

§Returns

PamojaStatus::Ok on success.

§Safety

replay must be a live handle from pamoja_replay_new and out_reading must be writable.