free_dora_context

Function free_dora_context 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn free_dora_context(context: *mut c_void)
Expand description

Frees the given dora context.

ยงSafety

Only pointers created through init_dora_context_from_env are allowed as arguments. Each context pointer must be freed exactly once. After freeing, the pointer must not be used anymore.