Method

NumCosmoMathVarDictget_int_array

Declaration [src]

gboolean
ncm_var_dict_get_int_array (
  NcmVarDict* vd,
  const gchar* key,
  GArray** value
)

Description [src]

Gets an array of integers 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: An array of int

An array of integers.

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 array of integers with key key was found.