Method

NumCosmoMathSerializeto_yaml

Declaration [src]

gchar*
ncm_serialize_to_yaml (
  NcmSerialize* ser,
  GObject* obj
)

Description [src]

Serialize the object obj to a YAML string.

Parameters

obj

Type: GObject

A GObject.

The data is owned by the caller of the method.

Return value

Type: gchar*

A YAML string containing the serialized version of 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.