mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 21:38:43 +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;
|
||||
|
||||
#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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue