Skip to main content

pamoja_depletion_free

Function pamoja_depletion_free 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_depletion_free( depletion: *mut PamojaDepletion, )
Expand description

Releases a depletion estimator handle.

Passing null is a no-op.

ยงSafety

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