Method

NumCosmoMathSerializevar_dict_to_yaml

Declaration [src]

gchar*
ncm_serialize_var_dict_to_yaml (
  NcmSerialize* ser,
  NcmVarDict* dict
)

Description [src]

Serialize the NcmVarDict dict to a YAML string.

Parameters

dict

Type: NcmVarDict

A NcmVarDict.

The data is owned by the caller of the method.

Return value

Type: gchar*

A YAML string containing the serialized version of dict.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.