ReactOS  0.4.15-dev-1018-g0695ecb
msvc-thiscall.c File Reference

Go to the source code of this file.

Macros

#define DEFINE_THISCALL_WRAPPER(func, args)
 

Macro Definition Documentation

◆ DEFINE_THISCALL_WRAPPER

#define DEFINE_THISCALL_WRAPPER (   func,
  args 
)
Value:
typedef struct {int x[args/4];} _tag_##func; \
void __stdcall func(_tag_##func p1); \
__declspec(naked) void __stdcall func(_tag_##func p1) \
{ \
__asm pop eax \
__asm push ecx \
__asm push eax \
__asm jmp func \
}
GLenum func
Definition: glext.h:6028
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
static calc_node_t * pop(void)
Definition: rpn_ieee.c:90
Definition: match.c:390
#define __stdcall
Definition: typedefs.h:25
static void push(calc_node_t *op)
Definition: rpn_ieee.c:113
jmp_buf jmp
Definition: mach.c:35

Definition at line 2 of file msvc-thiscall.c.