summaryrefslogtreecommitdiff
path: root/src/vm/safehandle.cpp
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2015-03-03 20:52:54 -0800
committerJan Kotas <jkotas@microsoft.com>2015-03-03 20:52:54 -0800
commit354d438adbe7aad0f8e3c0de24100099e365aee7 (patch)
tree0bdb3eed79296e14a74948b4c2f3f9b4b9cc7d44 /src/vm/safehandle.cpp
parent5b46f36d6b5b28c81a15ddbe045035ca5604097f (diff)
downloadcoreclr-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.cpp4
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;