diff options
author | Jan Kotas <jkotas@microsoft.com> | 2015-03-03 20:52:54 -0800 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2015-03-03 20:52:54 -0800 |
commit | 354d438adbe7aad0f8e3c0de24100099e365aee7 (patch) | |
tree | 0bdb3eed79296e14a74948b4c2f3f9b4b9cc7d44 /src/vm/safehandle.cpp | |
parent | 5b46f36d6b5b28c81a15ddbe045035ca5604097f (diff) | |
download | coreclr-354d438adbe7aad0f8e3c0de24100099e365aee7.tar.gz coreclr-354d438adbe7aad0f8e3c0de24100099e365aee7.tar.bz2 coreclr-354d438adbe7aad0f8e3c0de24100099e365aee7.zip |
Introduce FC_TypedByRef for passing TypedReferences as FCall arguments
FC_TypedByRef is defined as TypedByRef& for now to workaround the mismatch between managed and native struct calling convention.
Diffstat (limited to 'src/vm/safehandle.cpp')
-rw-r--r-- | src/vm/safehandle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/safehandle.cpp b/src/vm/safehandle.cpp index 316c2a5002..d1670bd2d5 100644 --- a/src/vm/safehandle.cpp +++ b/src/vm/safehandle.cpp @@ -484,7 +484,7 @@ FCIMPL1(UINT, SafeBuffer::AlignedSizeOfType, ReflectClassBaseObject* typeUNSAFE) } FCIMPLEND -FCIMPL3(void, SafeBuffer::PtrToStructure, BYTE* ptr, TypedByRef structure, UINT32 sizeofT) +FCIMPL3(void, SafeBuffer::PtrToStructure, BYTE* ptr, FC_TypedByRef structure, UINT32 sizeofT) { FCALL_CONTRACT; @@ -495,7 +495,7 @@ FCIMPL3(void, SafeBuffer::PtrToStructure, BYTE* ptr, TypedByRef structure, UINT3 } FCIMPLEND -FCIMPL3(void, SafeBuffer::StructureToPtr, TypedByRef structure, BYTE* ptr, UINT32 sizeofT) +FCIMPL3(void, SafeBuffer::StructureToPtr, FC_TypedByRef structure, BYTE* ptr, UINT32 sizeofT) { FCALL_CONTRACT; |