GLib.Variant.prototype.get_objv
function get_objv(): [return_value: Array(String), length: Number(gsize)] { // Gjs wrapper for g_variant_get_objv() }
Gets the contents of an array of object paths GLib.Variant. This call makes a shallow copy; the return result should be released with GLib.free, but the individual strings must not be modified.
If 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, length will be set to 0 and a pointer to a null pointer will be returned.
Since 2.30
- return_value
an array of constant strings
- length
the length of the result, or null