Method

NumCosmoMathSerializeto_variant

Declaration [src]

GVariant*
ncm_serialize_to_variant (
  NcmSerialize* ser,
  GObject* obj
)

Description [src]

Serialize the obj to a GVariant representation.

Parameters

obj

Type: GObject

A GObject.

The data is owned by the caller of the method.

Return value

Type: GVariant

A GVariant dictionary describing the obj.

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