Add support for caller-allocated array parameters
In the gobject-introspection test suite we have this test:
/**
* gi_marshalling_tests_garray_utf8_full_out_caller_allocated:
* @array_: (out caller-allocates) (array) (element-type utf8) (transfer full):
*/
void gi_marshalling_tests_garray_utf8_full_out_caller_allocated(GArray* array_);
GJS should take care transparently of allocating the GArray and passing it to the C function. However, an exception is thrown:
Unsupported type array for (out caller-allocates)
To verify the fix, this test should be able to be un-disabled in testGIMarshalling.js and pass correctly.