atc_router::ffi::schema

Function schema_free

Source
#[no_mangle]
pub unsafe extern "C" fn schema_free(schema: *mut Schema)
Expand description

Deallocate the schema object.

§Errors

This function never fails.

§Safety

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

  • schema must be a valid pointer returned by schema_new.