diff options
author | Jonghyun Park <parjong@gmail.com> | 2017-04-21 01:05:51 +0900 |
---|---|---|
committer | Bruce Forstall <brucefo@microsoft.com> | 2017-04-20 09:05:51 -0700 |
commit | c716068d1df2ed82e16b4d22a73397d753f8186f (patch) | |
tree | 848830240f1d626f7432e4f2f9c604e18bb48770 /src/strongname | |
parent | fcc25714169626c3c4a8b0e0057443e0e5fa83ab (diff) | |
download | coreclr-c716068d1df2ed82e16b4d22a73397d753f8186f.tar.gz coreclr-c716068d1df2ed82e16b4d22a73397d753f8186f.tar.bz2 coreclr-c716068d1df2ed82e16b4d22a73397d753f8186f.zip |
[x86/Linux] Use CDECL as STDAPICALLTYPE (#10969)
* [x86/Linux] Use CDECL as STDAPICALLTYPE
* Use system default calling convention for internal functions
Diffstat (limited to 'src/strongname')
-rw-r--r-- | src/strongname/api/strongnamecoreclr.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/strongname/api/strongnamecoreclr.cpp b/src/strongname/api/strongnamecoreclr.cpp index b02cde3dd9..2b9b4b82cf 100644 --- a/src/strongname/api/strongnamecoreclr.cpp +++ b/src/strongname/api/strongnamecoreclr.cpp @@ -39,15 +39,15 @@ FunctionPointer ApiShim(LPCSTR szApiName) // Shim APIs, passing off into the desktop VM // -IExecutionEngine * __stdcall SnIEE() +IExecutionEngine* SnIEE() { - typedef IExecutionEngine * ( __stdcall *IEEFn_t)(); + typedef IExecutionEngine* (* IEEFn_t)(); return ApiShim<IEEFn_t>("IEE")(); } -STDAPI SnGetCorSystemDirectory(SString& pbuffer) +HRESULT SnGetCorSystemDirectory(SString& pbuffer) { - typedef HRESULT (__stdcall *GetCorSystemDirectoryFn_t)(SString&); + typedef HRESULT (*GetCorSystemDirectoryFn_t)(SString&); return ApiShim<GetCorSystemDirectoryFn_t>("GetCORSystemDirectory")(pbuffer); } |