Method

NumCosmoMathSerializeis_named

Declaration [src]

gboolean
ncm_serialize_is_named (
  NcmSerialize* ser,
  const gchar* serobj,
  gchar** name
)

Description [src]

Checks if serobj is a named serialized object, if so sets its name in name and returns TRUE.

Parameters

serobj

Type: const gchar*

Serialized object.

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

Type: gchar**

Object name.

The argument will be set by the function.
The argument can be NULL.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

Whether serobj is a named serialized object.