Method

NumCosmoMathSerializeset

Declaration [src]

void
ncm_serialize_set (
  NcmSerialize* ser,
  GObject* obj,
  const gchar* name,
  gboolean overwrite
)

Description [src]

Adds the object obj to ser using name.

Parameters

obj

Type: GObject

A GObject.

The data is owned by the caller of the method.
name

Type: const gchar*

The obj name.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
overwrite

Type: gboolean

Whether to overwrite if there is already an object named name.