[monoapi] Add mono_method_get_unmanaged_callers_only_ftnptr (#66299)
authorAleksey Kliger (λgeek) <alklig@microsoft.com>
Thu, 10 Mar 2022 20:44:48 +0000 (15:44 -0500)
committerGitHub <noreply@github.com>
Thu, 10 Mar 2022 20:44:48 +0000 (12:44 -0800)
commit8a487369d3a9e87f77a40f1838d740e7fd4be4a9
treeca09f0ac143c0b8b431d1b3fed9ba94f4ed9d4fc
parent3dd25be2db67d294f1b6fd01d13bb5ff1871a9b8
[monoapi] Add mono_method_get_unmanaged_callers_only_ftnptr (#66299)

Like `RuntimeMethodHandle.GetFunctionPointer`, but callable from native code
src/mono/mono/metadata/external-only.c
src/mono/mono/metadata/icall.c
src/mono/mono/metadata/mono-private-unstable.h
src/mono/mono/metadata/object-internals.h