Function

NumCosmoDistanceclear

Declaration [src]

void
nc_distance_clear (
  NcDistance** dist
)

Description [src]

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

Parameters

dist

Type: NcDistance

A NcDistance.

The data is owned by the caller of the function.