mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-04 04:28:20 +00:00
Fix wrong calling convetion in io_windbg.c (#17570)
This commit is contained in:
parent
d967a68bce
commit
443fc06500
@ -87,13 +87,15 @@ static STDMETHODIMP IFace##_QueryInterface_impl ( \
|
||||
}
|
||||
|
||||
#define DECLARE_ADDREF(IFace) \
|
||||
static ULONG IFace##_AddRef_impl(P##IFace This) { \
|
||||
static STDMETHODIMP_(ULONG) IFace##_AddRef_impl( \
|
||||
P##IFace This) { \
|
||||
P##IFace##_IMPL impl = (P##IFace##_IMPL)This; \
|
||||
return InterlockedIncrement (&impl->m_ref); \
|
||||
}
|
||||
|
||||
#define DECLARE_RELEASE(IFace) \
|
||||
static ULONG IFace##_Release_impl(P##IFace This) { \
|
||||
static STDMETHODIMP_(ULONG) IFace##_Release_impl( \
|
||||
P##IFace This) { \
|
||||
P##IFace##_IMPL impl = (P##IFace##_IMPL)This; \
|
||||
ULONG ret = InterlockedDecrement (&impl->m_ref); \
|
||||
if (!ret) { \
|
||||
|
Loading…
x
Reference in New Issue
Block a user