Function

NumCosmoHaloMassFunctionclear

Declaration [src]

void
nc_halo_mass_function_clear (
  NcHaloMassFunction** mfp
)

Description [src]

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

Parameters

mfp

Type: NcHaloMassFunction

A NcHaloMassFunction.

The data is owned by the caller of the function.