Method

NumCosmoMathSerializevar_dict_from_variant

Declaration [src]

NcmVarDict*
ncm_serialize_var_dict_from_variant (
  NcmSerialize* ser,
  GVariant* var
)

Description [src]

Creates a new NcmVarDict from a GVariant.

Parameters

var

Type: GVariant

A GVariant containing a dictionary of string and variants.

The data is owned by the caller of the method.

Return value

Type: NcmVarDict

A new NcmObjDictStr.

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