Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kliger (λgeek) <akliger@gmail.com>2018-02-27 18:55:16 +0300
committerGitHub <noreply@github.com>2018-02-27 18:55:16 +0300
commitb8da9736209427ef49267923e1321c801c65dfd2 (patch)
tree3836a2bc545ef668e577e4a1e148b8557e2565a8 /msvc/libmonoruntime-common.targets
parent2f9b9142cde3dca6daae6b3812b9c671fb2dd4ec (diff)
[marshal] Use MonoClass getters in marshal.c (#7253)
* [runtime] Use getters in IS_MONOTYPE() * [metadata] Add m_class_offsetof_fieldName accessors These look like: ```c intptr_t m_class_offsetof_someField (void) { return MONO_STRUCT_OFFSET (MonoClass, someField); } ``` When Mono is compiled with the definition of MonoClass hidden (--enable-checked-build=private_types), only the function prototypes are available via mono/metadata/class-abi-details.h When Mono is compiled without the checked build flag, the functions are inlined into that header. * [metadata] Add accessor function mono_class_set_nonblittable This is needed by mono_marshal_load_type_info () * [marshal] Use m_class_get_ getters to access MonoClass fields
Diffstat (limited to 'msvc/libmonoruntime-common.targets')
-rw-r--r--msvc/libmonoruntime-common.targets1
1 files changed, 1 insertions, 0 deletions
diff --git a/msvc/libmonoruntime-common.targets b/msvc/libmonoruntime-common.targets
index f6f538a2f9c..6b70563dfed 100644
--- a/msvc/libmonoruntime-common.targets
+++ b/msvc/libmonoruntime-common.targets
@@ -148,6 +148,7 @@
<ClInclude Include="$(MonoSourceLocation)\mono\metadata\file-mmap.h" />
<ClInclude Include="$(MonoSourceLocation)\mono\metadata\object-offsets.h" />
<ClInclude Include="$(MonoSourceLocation)\mono\metadata\abi-details.h" />
+ <ClInclude Include="$(MonoSourceLocation)\mono\metadata\class-abi-details.h" />
<ClCompile Include="$(MonoSourceLocation)\mono\metadata\metadata-cross-helpers.c" />
<ClInclude Include="$(MonoSourceLocation)\mono\metadata\seq-points-data.h" />
<ClCompile Include="$(MonoSourceLocation)\mono\metadata\seq-points-data.c" />