Skip to main content

pamoja_safety_gate_free

Function pamoja_safety_gate_free 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_safety_gate_free( gate: *mut PamojaSafetyGate, )
Expand description

Releases a safety gate handle.

Passing null is a no-op.

ยงSafety

gate must be a handle from pamoja_safety_gate_new that has not already been freed, or null. After this call it must not be used again.