Add XTASSEMBLY routine modifier to instruct compiler to generate code without prolog and epilog

This commit is contained in:
Rafal Kupiec 2023-03-28 17:33:38 +02:00
parent bf3d56385f
commit 2257ad1567
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4

View File

@ -13,18 +13,19 @@
/* Routines and arguments modifiers */ /* Routines and arguments modifiers */
#define IN #define IN
#define OUT #define OUT
#define XTAPI __stdcall #define XTAPI __stdcall
#define XTCDECL __cdecl #define XTCDECL __cdecl
#define XTFASTCALL __fastcall #define XTFASTCALL __fastcall
#define XTINLINE __inline #define XTINLINE __inline
#define XTASSEMBLY __declspec(naked)
/* Variable modifiers */ /* Variable modifiers */
#define CONST const #define CONST const
#define EXTERN extern #define EXTERN extern
#define STRUCT struct #define STRUCT struct
#define STATIC static #define STATIC static
#define UNION union #define UNION union
#define VOLATILE volatile #define VOLATILE volatile
/* NULL values */ /* NULL values */
#define NULL ((PVOID) 0) #define NULL ((PVOID) 0)