Skip to main content

pamoja_window_latest

Function pamoja_window_latest 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_window_latest( window: *const PamojaWindow, out_value: *mut f32, ) -> bool
Expand description

Reads the most recent reading in a window.

§Returns

true when the window holds a reading, with it written to out_value.

§Safety

window must be a live handle or null, and out_value must point to a writable float.