Function
NumCosmoMathcfg_array_to_variant
Declaration [src]
GVariant*
ncm_cfg_array_to_variant (
GArray* a,
const GVariantType* etype
)
Description [src]
Creates a GVariant array of etype sharing the data of a, which it holds a reference to.
This function is not directly available to language bindings.
Parameters
a-
Type: An array of
gpointerA
GArray.The data is owned by the caller of the function. etype-
Type:
GVariantTypeThe element type.
The data is owned by the caller of the function.
Return value
Type: GVariant
The GVariant.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |