Function dora_node_api_c::free_dora_event

source ·
#[no_mangle]
pub unsafe extern "C" fn free_dora_event(event: *mut c_void)
Expand description

Frees the given dora event.

§Safety

Only pointers created through dora_next_event are allowed as arguments. Each context pointer must be freed exactly once. After freeing, the pointer and all derived pointers must not be used anymore. This also applies to the read_dora_event_* functions, which return pointers into the original event structure.