Skip to main content

pamoja_window_new

Function pamoja_window_new 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_window_new() -> *mut PamojaWindow
Expand description

Creates an empty rolling window of PAMOJA_WINDOW_CAPACITY readings.

§Returns

A handle the caller must release with pamoja_window_free.

§Safety

The returned handle must be freed exactly once.