Function

NumCosmoMathSpline2dclear

Declaration [src]

void
ncm_spline2d_clear (
  NcmSpline2d** s2d
)

Description [src]

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

Parameters

s2d

Type: NcmSpline2d

A NcmSpline2d.

The data is owned by the caller of the function.