[x86/Linux] Add STDCALL for reverse P/Invoke delegates (dotnet/coreclr#9909)
authorEvgeny Pavlov <lucenticus@gmail.com>
Thu, 2 Mar 2017 21:27:36 +0000 (00:27 +0300)
committerJan Vorlicek <janvorli@microsoft.com>
Thu, 2 Mar 2017 21:27:36 +0000 (22:27 +0100)
Commit migrated from https://github.com/dotnet/coreclr/commit/2f36ab25027b2ddb38f5b88999c1b5a65da3e5b5

src/coreclr/src/vm/gdbjithelpers.h

index 3a34dd1..5308784 100644 (file)
@@ -27,7 +27,7 @@ struct MethodDebugInfo
     int localsSize;
 };
 
-typedef BOOL (*GetInfoForMethodDelegate)(const char*, unsigned int, MethodDebugInfo& methodDebugInfo);
+typedef BOOL (STDCALL *GetInfoForMethodDelegate)(const char*, unsigned int, MethodDebugInfo& methodDebugInfo);
 extern GetInfoForMethodDelegate getInfoForMethodDelegate;
 
 #endif // !__GDBJITHELPERS_H__