Skip to main content

pamoja_window_capacity

Function pamoja_window_capacity 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_window_capacity( window: *const PamojaWindow, ) -> usize
Expand description

Returns how many readings a window holds before it starts dropping.

§Returns

The capacity, or 0 if window is null.

§Safety

window must be a live handle from pamoja_window_new, or null.