Function

NumCosmoMathSerializeglobal_to_variant

Declaration [src]

GVariant*
ncm_serialize_global_to_variant (
  GObject* obj
)

Description [src]

Same as ncm_serialize_to_variant() with the serializer of ncm_serialize_global().

Parameters

obj

Type: GObject

A GObject.

The data is owned by the caller of the function.

Return value

Type: GVariant

A GVariant of type #NCM_SERIALIZE_OBJECT_TYPE.

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