mirror of
https://github.com/thunderbrewhq/bc.git
synced 2025-12-12 01:52:30 +00:00
chore(style): move system files into their own subdirectory
This commit is contained in:
parent
6cff259dca
commit
d31a66b9ca
10 changed files with 7 additions and 6 deletions
|
|
@ -1,6 +1,7 @@
|
|||
file(GLOB BC_SOURCES
|
||||
"*.cpp"
|
||||
"lock/*.cpp"
|
||||
"system/**.cpp"
|
||||
)
|
||||
|
||||
add_library(bc STATIC
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#include "bc/System_Debug.hpp"
|
||||
#include "bc/system/System_Debug.hpp"
|
||||
|
||||
Blizzard::System_Debug::AssertCallback Blizzard::System_Debug::s_assertCallback;
|
||||
|
|
@ -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;
|
||||
|
|
@ -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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue