Method

NumCosmoMathSerializedict_int_from_yaml

Declaration [src]

NcmObjDictInt*
ncm_serialize_dict_int_from_yaml (
  NcmSerialize* ser,
  const gchar* yaml_obj
)

Description [src]

Deserializes a dictionary of objects with integer keys from YAML, in the form written by ncm_serialize_dict_int_to_yaml().

Parameters

yaml_obj

Type: const gchar*

A YAML string.

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

Return value

Type: NcmObjDictInt

A new NcmObjDictInt.

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