Function

NumCosmoMathSerializeglobal_to_string

Declaration [src]

gchar*
ncm_serialize_global_to_string (
  GObject* obj,
  gboolean valid_variant
)

Description [src]

Global version of ncm_serialize_to_string().

Parameters

obj

Type: GObject

A GObject.

The data is owned by the caller of the function.
valid_variant

Type: gboolean

Whether to use a valid GVariant representation.

Return value

Type: gchar*

A string containing the serialized version of obj.

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