Method

NumCosmoMathSerializevariant_to_yaml

Declaration [src]

gchar*
ncm_serialize_variant_to_yaml (
  NcmSerialize* ser,
  GVariant* var_obj
)

Description [src]

Converts a GObject serialized to a GVariant to a YAML string.

Parameters

var_obj

Type: GVariant

A GObject serialized to a GVariant.

The data is owned by the caller of the method.

Return value

Type: gchar*

A pointer to the YAML string representation of the var_obj.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.