Function

NumCosmoHaloDensityProfileclear

Declaration [src]

void
nc_halo_density_profile_clear (
  NcHaloDensityProfile** dp
)

Description [src]

Atomically decrements the reference count of dp by one. If the reference count drops to 0, all memory allocated by dp is released. Set the pointer to NULL;.

Parameters

dp

Type: NcHaloDensityProfile

A NcHaloDensityProfile.

The data is owned by the caller of the function.