Remove a few raw pointers, correct some signatures, remove some unnecessary handles...
commitd16869c5105df638f3d85a5cb6ec85529134f7b3
authorJay Krell <jay.krell@cornell.edu>
Thu, 18 Oct 2018 20:27:03 +0000 (18 13:27 -0700)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Thu, 18 Oct 2018 20:27:03 +0000 (18 22:27 +0200)
treebc5235a1b261da67301af45ed68d53ee412ac87d
parentcb616340d05de56cb6d5b88490fe22fc62c39178
Remove a few raw pointers, correct some signatures, remove some unnecessary handles(). (#11211)

* Mark AddRefInternal as NOHANDLES(). Its signature was incorrect.

* Change ves_icall_System_Runtime_InteropServices_Marshal_ReleaseInternal to NOHANDLES.

* Mark ves_icall_System_Runtime_InteropServices_Marshal_QueryInterfaceInternal NOHANDLES.

* ves_icall_System_Runtime_InteropServices_Marshal_BufferToBSTR to nohandles().

* ves_icall_System_Runtime_InteropServices_Marshal_FreeBSTR to nohandles().

* ves_icall_System_Runtime_InteropServices_Marshal_FreeHGlobal nohandles().

* ves_icall_System_Runtime_InteropServices_Marshal_FreeCoTaskMem nohandles().

* Fix the signature of ves_icall_System_Runtime_InteropServices_Marshal_AllocCoTaskMemSize.

* [coop] Remove most uses of out_of_memory_ex.
mono/metadata/cominterop.c
mono/metadata/gc.c
mono/metadata/icall-def.h
mono/metadata/marshal.c
mono/metadata/marshal.h