Gets the contents of an array of strings Variant.
This call makes a shallow copy; the return result should be released with g_free, but the individual strings must not be modified.
If return.length
is non-null then the number
of elements in the result is stored there. In any case, the resulting array will be null
-terminated.
For an empty array, return.length
will be set to 0 and a pointer to a
null pointer will be returned.
this |
an array of strings Variant |
length |
the length of the result, or null |
an array of constant strings |