[x86/Linux] Pass return buffer on reverse P/Invoke (dotnet/coreclr#10226)
authorJonghyun Park <parjong@gmail.com>
Fri, 17 Mar 2017 02:41:24 +0000 (11:41 +0900)
committerJan Kotas <jkotas@microsoft.com>
Fri, 17 Mar 2017 02:41:24 +0000 (19:41 -0700)
commit50c665828841e9d580308e49710f84a02af73d44
tree720131afe42c1fe982c08578ee5c5ed74cb3c624
parent5645df03e3d0b4fa76651b40d9225fa2bbdf1cbc
[x86/Linux] Pass return buffer on reverse P/Invoke (dotnet/coreclr#10226)

* Pass return buffer on reverse P/Invoke

* Use PLATFORM_UNIX and track m_cbRetPop locally

* Declare cbRetPop UINT16 instead of int

Commit migrated from https://github.com/dotnet/coreclr/commit/bcc0a1d528b78f5e05bf7973090f33ef2403e685
src/coreclr/src/vm/dllimportcallback.cpp