Method

NumCosmoMathSerializearray_from_variant

Declaration [src]

NcmObjArray*
ncm_serialize_array_from_variant (
  NcmSerialize* ser,
  GVariant* var
)

Description [src]

Creates a new NcmObjArray from a GVariant.

Parameters

var

Type: GVariant

A GVariant containing an array of objects.

The data is owned by the caller of the method.

Return value

Type: NcmObjArray

A new NcmObjArray.

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