ReactOS 0.4.16-dev-338-g34e76ad
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 \
}
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLenum func
Definition: glext.h:6028
static calc_node_t * pop(void)
Definition: rpn_ieee.c:90
static void push(calc_node_t *op)
Definition: rpn_ieee.c:113
Definition: match.c:390
#define __stdcall
Definition: typedefs.h:25

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