Default to SAFEARRAY(VARIANT) as CCW argument for object[]. (#16673)
commit8590a25b301ec08ac688e93df37fe3ef3c2ddb11
authorNikolay Sivov <nsivov@codeweavers.com>
Mon, 9 Sep 2019 17:02:46 +0000 (9 20:02 +0300)
committerMarek Safar <marek.safar@gmail.com>
Mon, 9 Sep 2019 17:02:46 +0000 (9 19:02 +0200)
tree63141790312eba35cb6dfec9ee56f22748fe635d
parent1f76ab9270db6db36481bbfde99a7e90256b70f9
Default to SAFEARRAY(VARIANT) as CCW argument for object[]. (#16673)

* [cominterop] Add a helper to create default marshal spec for ccw arguments.

* [cominterop] Default to SAFEARRAY(VARIANT) as CCW argument for object[].

* [cominterop] Fix build with --enable-cxx.
mono/metadata/cominterop.c
mono/tests/cominterop.cs
mono/tests/libtest.c