Method

NumCosmoMathSerializefrom_variant

Declaration [src]

GObject*
ncm_serialize_from_variant (
  NcmSerialize* ser,
  GVariant* var_obj
)

Description [src]

Deserialize and returns the newly created object.

Parameters

var_obj

Type: GVariant

A GVariant containing the serialized version of the object.

The data is owned by the caller of the method.

Return value

Type: GObject

A new GObject.

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