Function

NumCosmoMathPowspecclear

Declaration [src]

void
ncm_powspec_clear (
  NcmPowspec** powspec
)

Description [src]

If powspec is different from NULL, atomically decrements the reference count of powspec by one. If the reference count drops to 0, all memory allocated by powspec is released and powspec is set to NULL.

Parameters

powspec

Type: NcmPowspec

A NcmPowspec.

The data is owned by the caller of the function.