Method

NumCosmoMathSerializefrom_name_params

Declaration [src]

GObject*
ncm_serialize_from_name_params (
  NcmSerialize* ser,
  const gchar* obj_name,
  GVariant* params
)

Description [src]

Parses the serialized parameters and returns the newly created object using them.

Parameters

obj_name

Type: const gchar*

String containing the object name.

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

Type: GVariant

A GVariant containing the object parameters.

The data is owned by the caller of the method.

Return value

Type: GObject

A new GObject.

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