summaryrefslogtreecommitdiff
path: root/src/vm/comutilnative.h
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/comutilnative.h
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/comutilnative.h')
-rw-r--r--src/vm/comutilnative.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/comutilnative.h b/src/vm/comutilnative.h
index c2f369c70f..0f9c7c9f38 100644
--- a/src/vm/comutilnative.h
+++ b/src/vm/comutilnative.h
@@ -230,8 +230,8 @@ public:
static FCDECL3(LPVOID, CompareExchangeObject, LPVOID* location, LPVOID value, LPVOID comparand);
static FCDECL2(INT32, ExchangeAdd32, INT32 *location, INT32 value);
static FCDECL2_IV(INT64, ExchangeAdd64, INT64 *location, INT64 value);
- static FCDECL2_VV(void, ExchangeGeneric, TypedByRef location, TypedByRef value);
- static FCDECL3_VVI(void, CompareExchangeGeneric, TypedByRef location, TypedByRef value, LPVOID comparand);
+ static FCDECL2_VV(void, ExchangeGeneric, FC_TypedByRef location, FC_TypedByRef value);
+ static FCDECL3_VVI(void, CompareExchangeGeneric, FC_TypedByRef location, FC_TypedByRef value, LPVOID comparand);
};
class ManagedLoggingHelper {