Function

NumCosmoMathFitMCclear

Declaration [src]

void
ncm_fit_mc_clear (
  NcmFitMC** mc
)

Description [src]

When this function is invoked, it first checks whether mc is not NULL. If mc is not NULL, the function reduces the reference count of mc by one. If the reference count reaches zero, all memory allocated by the object is released, the object is freed, and mc is set to NULL.

Parameters

mc

Type: NcmFitMC

A NcmFitMC.

The data is owned by the caller of the function.