New build CI

This commit is contained in:
acidicoala
2025-10-03 21:34:20 +05:00
parent ac9c1a3fcc
commit 509b70c0b0
7 changed files with 26 additions and 26 deletions

View File

@@ -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;