Function

NumCosmoMathcfg_array_to_variant

Declaration [src]

GVariant*
ncm_cfg_array_to_variant (
  GArray* a,
  const GVariantType* etype
)

Description [src]

Creates a variant of array type from a.

This function is not directly available to language bindings.

Parameters

a

Type: An array of gpointer

A GArray.

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

Type: GVariantType

Element type.

The data is owned by the caller of the function.

Return value

Type: GVariant

A variant of array type.

The caller of the function takes ownership of the data, and is responsible for freeing it.