Method

NumCosmoMathSerializedict_str_from_variant

Declaration [src]

NcmObjDictStr*
ncm_serialize_dict_str_from_variant (
  NcmSerialize* ser,
  GVariant* var
)

Description [src]

Creates a new NcmObjDictStr from a GVariant.

Parameters

var

Type: GVariant

A GVariant containing a dictionary of string keys.

The data is owned by the caller of the method.

Return value

Type: NcmObjDictStr

A new NcmObjDictStr.

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