Function

NumCosmoMathModelCtrlclear

Declaration [src]

void
ncm_model_ctrl_clear (
  NcmModelCtrl** ctrl
)

Description [src]

Checks if *ctrl is not NULL, and if so, decreases the reference count of ctrl. If the reference count reaches zero, ctrl is freed. The pointer to ctrl is set to NULL.

Parameters

ctrl

Type: NcmModelCtrl

A NcmModelCtrl.

The data is owned by the caller of the function.