Function

NumCosmoMathPowspecSpline2dclear

Declaration [src]

void
ncm_powspec_spline2d_clear (
  NcmPowspecSpline2d** ps_s2d
)

Description [src]

If ps_s2d 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

ps_s2d

Type: NcmPowspecSpline2d

A NcmPowspecSpline2d.

The data is owned by the caller of the function.