Restructured tests and matured Logger a lil bit, now LoggerBase

This commit is contained in:
NaifBanana
2026-01-26 11:19:44 -06:00
parent f8a8813b3e
commit 3b828a34ff
11 changed files with 127 additions and 92 deletions
+3 -5
View File
@@ -7,15 +7,13 @@
#endif // _TARGET_LINUX
#include "Processes.hpp"
#include "Types.hpp"
namespace nb {
#ifdef _TARGET_WINDOWS
uint64_t get_pid() {
const auto pid_w = GetCurrentProcessId();
uint64_t ret;
memcpy(&ret, &pid_w, sizeof(pid_w));
return ret;
uint64_t GetPID() {
return GetCurrentProcessId();
}
#endif // _TARGET_WINDOWS