diff options
author | Jonghyun Park <parjong@gmail.com> | 2017-05-16 14:30:36 +0900 |
---|---|---|
committer | Jonghyun Park <parjong@gmail.com> | 2017-05-22 15:20:40 +0900 |
commit | d25366cbf3831a058e32491b472df629c72d2d8b (patch) | |
tree | 42dc0865ee612a6df08b94bde3e7a867b0e96ab8 /src/debug | |
parent | 9a6125d007152407087998f63cef236280c75639 (diff) | |
download | coreclr-d25366cbf3831a058e32491b472df629c72d2d8b.tar.gz coreclr-d25366cbf3831a058e32491b472df629c72d2d8b.tar.bz2 coreclr-d25366cbf3831a058e32491b472df629c72d2d8b.zip |
[x86/Linux] Use CDECL (instead of STDCALL) as STDMETHODCALLTYPE
Diffstat (limited to 'src/debug')
-rw-r--r-- | src/debug/di/classfactory.h | 2 | ||||
-rw-r--r-- | src/debug/di/rsmain.cpp | 12 | ||||
-rw-r--r-- | src/debug/di/rspriv.h | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/src/debug/di/classfactory.h b/src/debug/di/classfactory.h index 5109f3a637..c57cd69486 100644 --- a/src/debug/di/classfactory.h +++ b/src/debug/di/classfactory.h @@ -18,7 +18,7 @@ // This typedef is for a function which will create a new instance of an object. -typedef HRESULT (__stdcall * PFN_CREATE_OBJ)(REFIID riid, void **ppvObject); +typedef HRESULT (STDMETHODCALLTYPE * PFN_CREATE_OBJ)(REFIID riid, void **ppvObject); //***************************************************************************** diff --git a/src/debug/di/rsmain.cpp b/src/debug/di/rsmain.cpp index cdad21bf58..7b1b84f5b6 100644 --- a/src/debug/di/rsmain.cpp +++ b/src/debug/di/rsmain.cpp @@ -583,9 +583,9 @@ namespace public: DefaultManagedCallback2(ICorDebug* pDebug); virtual ~DefaultManagedCallback2() { } - virtual HRESULT __stdcall QueryInterface(REFIID iid, void** pInterface); - virtual ULONG __stdcall AddRef(); - virtual ULONG __stdcall Release(); + virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID iid, void** pInterface); + virtual ULONG STDMETHODCALLTYPE AddRef(); + virtual ULONG STDMETHODCALLTYPE Release(); COM_METHOD FunctionRemapOpportunity(ICorDebugAppDomain* pAppDomain, ICorDebugThread* pThread, ICorDebugFunction* pOldFunction, @@ -787,9 +787,9 @@ namespace public: DefaultManagedCallback3(ICorDebug* pDebug); virtual ~DefaultManagedCallback3() { } - virtual HRESULT __stdcall QueryInterface(REFIID iid, void** pInterface); - virtual ULONG __stdcall AddRef(); - virtual ULONG __stdcall Release(); + virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID iid, void** pInterface); + virtual ULONG STDMETHODCALLTYPE AddRef(); + virtual ULONG STDMETHODCALLTYPE Release(); COM_METHOD CustomNotification(ICorDebugThread * pThread, ICorDebugAppDomain * pAppDomain); private: // not implemented diff --git a/src/debug/di/rspriv.h b/src/debug/di/rspriv.h index d714517985..1abe087693 100644 --- a/src/debug/di/rspriv.h +++ b/src/debug/di/rspriv.h @@ -1607,8 +1607,8 @@ public: // IUnknown interface virtual COM_METHOD QueryInterface(REFIID riid, VOID** ppInterface); - virtual ULONG __stdcall AddRef(); - virtual ULONG __stdcall Release(); + virtual ULONG STDMETHODCALLTYPE AddRef(); + virtual ULONG STDMETHODCALLTYPE Release(); // ICorDebugEnum interface virtual COM_METHOD Clone(ICorDebugEnum **ppEnum); |