Method

NumCosmoMathVarDictget_variant

Declaration [src]

gboolean
ncm_var_dict_get_variant (
  NcmVarDict* vd,
  const gchar* key,
  GVariant** value
)

Description [src]

Gets a GVariant from a NcmVarDict with key key.

Parameters

key

Type: const gchar*

A string.

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

Type: GVariant

A GVariant.

The argument will be set by the function.
The caller of the method takes ownership of the returned data, and is responsible for freeing it.

Return value

Type: gboolean

Whether the GVariant with key key was found.