Method

NumCosmoMathSerializeset_property_from_key_file

Declaration [src]

void
ncm_serialize_set_property_from_key_file (
  NcmSerialize* ser,
  GObject* obj,
  const gchar* prop_file
)

Description [src]

Deserializes the set of object properties in prop_file and sets the obj.

Parameters

obj

Type: GObject

A GObject.

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

Type: const gchar*

A GKeyFile file containing the parameters to set.

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