[OLE32_WINETEST]

- Addendum to r57905
Both of them already sent upstream

svn path=/trunk/; revision=57906
This commit is contained in:
Jérôme Gardou 2012-12-13 16:02:04 +00:00
parent 3bddc1bdba
commit 5a862da366

View file

@ -255,17 +255,17 @@ typedef struct _PMemoryAllocator {
} PMemoryAllocator;
#ifdef __i386__
#define __thiscall __stdcall
#define __thiscall_wrapper __stdcall
#else
#define __thiscall __cdecl
#define __thiscall_wrapper __cdecl
#endif
static void * __thiscall PMemoryAllocator_Allocate(PMemoryAllocator *_this, ULONG cbSize)
static void * __thiscall_wrapper PMemoryAllocator_Allocate(PMemoryAllocator *_this, ULONG 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);
}