atc_router::ffi::router

Function router_free

Source
#[no_mangle]
pub unsafe extern "C" fn router_free(router: *mut Router<'_>)
Expand description

Deallocate the router object.

§Errors

This function never fails.

§Safety

Violating any of the following constraints will result in undefined behavior:

  • router must be a valid pointer returned by router_new.