[cxx] Fix WebAssembly/C++ (ICALL_EXPORT) (#11359)
commit8fba63a2a3b214dc2725d977df5cd64ed395fbb9
authorJay Krell <jay.krell@cornell.edu>
Thu, 25 Oct 2018 20:07:05 +0000 (25 13:07 -0700)
committerGitHub <noreply@github.com>
Thu, 25 Oct 2018 20:07:05 +0000 (25 13:07 -0700)
tree760ab3e4bb452e43eb91ed6c8fb0c14483fd64d9
parentbf12b8762d889b3b6b2c2d9d0d44997ad9acccd0
[cxx] Fix WebAssembly/C++ (ICALL_EXPORT) (#11359)

Remove ICALL_EXPORT on all implementations.
Add ICALL_EXPORT on two declarations.

ICALL_EXPORT is on declarations, correctly,
  and either isn't needed on implementations, or is incorrect.
On non-handles() implementations, it isn't needed but is ok.
On handles() implementations, it is incorrect.

Add ICALL_EXPORT on mono_object_hash_internal and mono_monitor_exit_internal.

Previously many declarations were missing, which was a reason we put it on implementations.
mono/metadata/icall-decl.h
mono/metadata/icall.c
mono/metadata/object-internals.h
mono/metadata/sre.c
mono/metadata/sysmath.c
mono/metadata/threads.c
mono/metadata/w32socket.c