mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
[OLE32_WINETEST]
- Addendum to r57905 Both of them already sent upstream svn path=/trunk/; revision=57906
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user