Skip to main content

pamoja_ramp_free

Function pamoja_ramp_free 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_ramp_free(ramp: *mut PamojaRamp)
Expand description

Releases a rate limiter handle.

Passing null is a no-op.

ยงSafety

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