[marshal] Use coop handles in mono_delegate_to_ftnptr
commit631d4e0052ad2086d3f0b41e4db82cbcaf9c8d62
authorAleksey Kliger <aleksey@xamarin.com>
Thu, 11 May 2017 21:06:29 +0000 (11 17:06 -0400)
committerAleksey Kliger <aleksey@xamarin.com>
Tue, 23 May 2017 15:30:48 +0000 (23 11:30 -0400)
tree331e0d11f6975925bad35aef7006c384a073119f
parente1354fd95644fe724f58b43e9e98b2aa6357d0e1
[marshal] Use coop handles in mono_delegate_to_ftnptr

* Create mono_delegate_handle_to_ftnptr for the implementation
* Use coop handles for
  System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegateInternal
mono/metadata/icall-def.h
mono/metadata/marshal.c
mono/metadata/marshal.h