ReactOS 0.4.16-dev-197-g92996da
msvc-thiscall.c
Go to the documentation of this file.
1
2#define DEFINE_THISCALL_WRAPPER(func,args) \
3 typedef struct {int x[args/4];} _tag_##func; \
4 void __stdcall func(_tag_##func p1); \
5 __declspec(naked) void __stdcall func(_tag_##func p1) \
6 { \
7 __asm pop eax \
8 __asm push ecx \
9 __asm push eax \
10 __asm jmp func \
11 }
12
static void *__cdecl Allocate_PMemoryAllocator(void *this, ULONG cbSize)
Definition: stg_prop.c:2787
#define DEFINE_THISCALL_WRAPPER(func, args)
Definition: msvc-thiscall.c:2