atc_router::ffi::context

Function context_free

Source
#[no_mangle]
pub unsafe extern "C" fn context_free(context: *mut Context<'_>)
Expand description

Deallocate the context object.

§Errors

This function never fails.

§Safety

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

  • context must be a valid pointer returned by context_new.