mirror of
https://github.com/acidicoala/SmokeAPI.git
synced 2026-01-24 13:32:51 -05:00
New build CI
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
* will store the 1st actual argument to the function, so we
|
||||
* have to omit it from the function signature.
|
||||
*/
|
||||
#ifdef KB_WIN
|
||||
#ifdef KB_64
|
||||
#define PARAMS(...) const void* RCX __VA_OPT__(,) __VA_ARGS__
|
||||
#define ARGS(...) RCX __VA_OPT__(,) __VA_ARGS__
|
||||
@@ -53,6 +54,19 @@
|
||||
#define THIS ECX
|
||||
#define DECLARE_ARGS() void* ECX = nullptr; const void* EDX = nullptr;
|
||||
#endif
|
||||
#elifdef KB_LINUX
|
||||
#ifdef KB_64
|
||||
#define PARAMS(...) const void* $RDI __VA_OPT__(,) __VA_ARGS__
|
||||
#define ARGS(...) $RDI __VA_OPT__(,) __VA_ARGS__
|
||||
#define THIS $RDI
|
||||
#define DECLARE_ARGS() void* $RDI = nullptr;
|
||||
#else
|
||||
#define PARAMS(...) const void* $ARG1 __VA_OPT__(,) __VA_ARGS__
|
||||
#define ARGS(...) $ARG1 __VA_OPT__(,) __VA_ARGS__
|
||||
#define THIS $ARG1
|
||||
#define DECLARE_ARGS() void* $ARG1 = nullptr;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
using AppId_t = uint32_t;
|
||||
using HSteamPipe = uint32_t;
|
||||
|
||||
Reference in New Issue
Block a user