Method

NumCosmoMathSerializedict_str_to_yaml

Declaration [src]

gchar*
ncm_serialize_dict_str_to_yaml (
  NcmSerialize* ser,
  NcmObjDictStr* ods
)

Description [src]

Serialize the NcmObjDictStr ods to a YAML string.

Parameters

ods

Type: NcmObjDictStr

A NcmObjDictStr.

The data is owned by the caller of the method.

Return value

Type: gchar*

A YAML string containing the serialized version of ods.

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.