Function

NumCosmoTransferFuncclear

Declaration [src]

void
nc_transfer_func_clear (
  NcTransferFunc** tf
)

Description [src]

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

Parameters

tf

Type: NcTransferFunc

A NcTransferFunc.

The data is owned by the caller of the function.