Method

NumCosmoMathVarDictget_string

Declaration [src]

gboolean
ncm_var_dict_get_string (
  NcmVarDict* vd,
  const gchar* key,
  gchar** value
)

Description [src]

Gets a string 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: gchar**

A string.

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.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

Whether the string with key key was found.