util_strv_to_slist


Description:

[ Version ( deprecated = true , deprecated_since = "3.8" , since = "3.2" ) ]
public static SList<string> util_strv_to_slist (string strv)

Warning: util_strv_to_slist is deprecated since 3.8.

Convert a null-terminated array of strings to a list of strings.

Note:

Use util_strv_to_slist instead.

Parameters:

strv

a null-terminated array of strings (const gchar *)

Returns:

Newly allocated SList of newly allocated strings. The returned pointer should be freed with util_free_string_slist.

Note: Paired function for this is util_slist_to_strv.