Method

NumCosmoMathSerializegvalue_to_gvariant

Declaration [src]

GVariant*
ncm_serialize_gvalue_to_gvariant (
  NcmSerialize* ser,
  GValue* val
)

Description [src]

Converts a GValue to a GVariant.

Parameters

val

Type: GValue

A GValue.

The data is owned by the caller of the method.

Return value

Type: GVariant

A GVariant conversion of val.

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