Method

NumCosmoMathSerializedup_obj

Declaration [src]

GObject*
ncm_serialize_dup_obj (
  NcmSerialize* ser,
  GObject* obj
)

Description [src]

Duplicates obj by serializing and deserializing a new object.

Parameters

obj

Type: GObject

A GObject.

The data is owned by the caller of the method.

Return value

Type: GObject

A duplicate of obj.

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