mirror of
https://github.com/reactos/reactos.git
synced 2025-05-13 14:20:31 +00:00
[OLE32_WINETEST]
- Addendum to r57905 Both of them already sent upstream svn path=/trunk/; revision=57906
This commit is contained in:
parent
3bddc1bdba
commit
5a862da366
1 changed files with 4 additions and 4 deletions
|
@ -255,17 +255,17 @@ typedef struct _PMemoryAllocator {
|
||||||
} PMemoryAllocator;
|
} PMemoryAllocator;
|
||||||
|
|
||||||
#ifdef __i386__
|
#ifdef __i386__
|
||||||
#define __thiscall __stdcall
|
#define __thiscall_wrapper __stdcall
|
||||||
#else
|
#else
|
||||||
#define __thiscall __cdecl
|
#define __thiscall_wrapper __cdecl
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void * __thiscall PMemoryAllocator_Allocate(PMemoryAllocator *_this, ULONG cbSize)
|
static void * __thiscall_wrapper PMemoryAllocator_Allocate(PMemoryAllocator *_this, ULONG cbSize)
|
||||||
{
|
{
|
||||||
return CoTaskMemAlloc(cbSize);
|
return CoTaskMemAlloc(cbSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __thiscall PMemoryAllocator_Free(PMemoryAllocator *_this, void *pv)
|
static void __thiscall_wrapper PMemoryAllocator_Free(PMemoryAllocator *_this, void *pv)
|
||||||
{
|
{
|
||||||
CoTaskMemFree(pv);
|
CoTaskMemFree(pv);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue