Method

NumCosmoMathSerializedict_str_from_yaml_file

Declaration [src]

NcmObjDictStr*
ncm_serialize_dict_str_from_yaml_file (
  NcmSerialize* ser,
  const gchar* filename
)

Description [src]

Parses the YAML in filename and returns a NcmObjDictStr containing.

Parameters

filename

Type: const gchar*

File containing the serialized version of the object in YAML format.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: NcmObjDictStr

A new NcmObjDictStr.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.