chore(style): move system files into their own subdirectory

This commit is contained in:
phaneron 2023-07-29 16:21:46 -04:00 committed by GitHub
parent 6cff259dca
commit d31a66b9ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 7 additions and 6 deletions

View file

@ -1,6 +1,7 @@
file(GLOB BC_SOURCES
"*.cpp"
"lock/*.cpp"
"system/**.cpp"
)
add_library(bc STATIC

View file

@ -1,7 +1,7 @@
#ifndef BC_DEBUG_HPP
#define BC_DEBUG_HPP
#include "bc/System_Debug.hpp"
#include "bc/system/System_Debug.hpp"
#include <cstdint>
#if defined(NDEBUG)

View file

@ -1,7 +1,7 @@
#include "bc/Lock.hpp"
#include "bc/Debug.hpp"
#include "bc/Process.hpp"
#include "bc/System_Lock.hpp"
#include "bc/system/System_Lock.hpp"
void Blizzard::Lock::DoOnce(DoOnceData& a1, void (*a2)(void*), void* a3) {
if (!a1.done) {

View file

@ -1,6 +1,6 @@
#include "bc/Thread.hpp"
#include "bc/Debug.hpp"
#include "bc/System_Thread.hpp"
#include "bc/system/System_Thread.hpp"
void Blizzard::Thread::AllocateLocalStorage(TLSSlot* slot) {
System_Thread::AllocateLocalStorage(slot, nullptr);

View file

@ -1,3 +1,3 @@
#include "bc/System_Debug.hpp"
#include "bc/system/System_Debug.hpp"
Blizzard::System_Debug::AssertCallback Blizzard::System_Debug::s_assertCallback;

View file

@ -1,4 +1,4 @@
#include "bc/System_Lock.hpp"
#include "bc/system/System_Lock.hpp"
#if defined(WHOA_SYSTEM_MAC) || defined(WHOA_SYSTEM_LINUX)
Blizzard::Lock::DoOnceData Blizzard::System_Lock::s_initMutexAttrOnce;

View file

@ -1,4 +1,4 @@
#include "bc/System_Thread.hpp"
#include "bc/system/System_Thread.hpp"
#include "bc/Debug.hpp"
#include "bc/Memory.hpp"
#include "bc/String.hpp"