Method
NumCosmoMathModelpeek_host
Declaration [src]
NcmModel*
ncm_model_peek_host (
NcmModel* submodel
)
Description [src]
If submodel is currently attached as a submodel of some host NcmModel
(through ncm_model_add_submodel()), gets that host without increasing
its reference count. This is a pure function of submodel‘s own current
attachment state — it never reaches outside submodel itself.
Return value
Type: NcmModel
The host NcmModel, or NULL if
submodel is not currently attached to any host.
| The returned data is owned by the instance. |
The return value can be NULL. |