Skip to main content

pamoja_router_capacity

Function pamoja_router_capacity 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_router_capacity( router: *const PamojaRouter, ) -> usize
Expand description

Returns how many routes a table can hold.

§Returns

The capacity it was created with, or 0 if router is null.

§Safety

router must be a live handle from pamoja_router_new, or null.