new_inline


Description:

[ CCode ( cname = "gda_set_new_inline" ) ]
public static Set new_inline (int nb, ...)

Creates a new Set containing holders defined by each triplet in ... For each triplet (id, Glib type and value), the value must be of the correct type (gchar * if type is G_STRING, ...)

Note that this function is a utility function and that only a limited set of types are supported. Trying to use an unsupported type will result in a warning, and the returned value holder holding a safe default value.

Parameters:

nb

the number of value holders which will be contained in the new Set

...

a serie of a (const gchar*) id, (GType) type, and value

Returns:

a new Set object




2022 vala-language.org