Removed unused MIJIN_FUNC() macro.

This commit is contained in:
Patrick 2025-07-12 16:58:57 +02:00
parent e91924e049
commit 9808fcf50e

View File

@ -19,7 +19,6 @@
#pragma comment(lib, "kernel32") #pragma comment(lib, "kernel32")
extern "C" __declspec(dllimport) void __stdcall DebugBreak(); extern "C" __declspec(dllimport) void __stdcall DebugBreak();
#define MIJIN_TRAP() DebugBreak() #define MIJIN_TRAP() DebugBreak()
#define MIJIN_FUNC() __FUNCSIG__
#else // _WIN32 #else // _WIN32
#include <unistd.h> #include <unistd.h>
#define MIJIN_TRAP() \ #define MIJIN_TRAP() \
@ -34,7 +33,6 @@ extern "C" __declspec(dllimport) void __stdcall DebugBreak();
: "rcx", "r11", "memory" \ : "rcx", "r11", "memory" \
); \ ); \
} }
#define MIJIN_FUNC() "" // TODO: __PRETTY_FUNCTION__ is not working for some reason -.-
#endif // !_WIN32 #endif // !_WIN32
namespace mijin namespace mijin