Function

NumCosmoMathcfg_keyfile_to_arg

Declaration [src]

void
ncm_cfg_keyfile_to_arg (
  GKeyFile* kfile,
  const gchar* group_name,
  GOptionEntry* entries,
  gchar** argv,
  gint* argc
)

Description [src]

Transforms the entries in a keyfile kfile group group_name into an array of strings representing the command line arguments.

Parameters

kfile

Type: GKeyFile

Keyfile filename.

The data is owned by the caller of the function.
group_name

Type: const gchar*

Group name.

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

Type: GOptionEntry

A GOptionEntry.

The data is owned by the caller of the function.
argv

Type: gchar**

An array of strings.

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

Type: gint*

A pointer to an integer.

The data is owned by the caller of the function.