Skip to main content

rgpot_potential_free

Function rgpot_potential_free 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn rgpot_potential_free( pot: *mut rgpot_potential_t, )
Expand description

Free a potential handle previously obtained from rgpot_potential_new.

If pot is NULL, this function is a no-op. After this call, pot must not be used again.