aboutsummaryrefslogtreecommitdiff
path: root/libs/kstd
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2025-07-14 20:35:38 +0000
committerFelix Morgner <felix.morgner@ost.ch>2025-07-14 20:35:38 +0000
commit833738f7023324172dbb0922fe1be9ad9cc88330 (patch)
tree07b4a54e1fff21bb7eb1acb3c0aa12aec7d9bde4 /libs/kstd
parent4e99a7586748f9acd7027abc4c86a8df5f0c2e6f (diff)
downloadteachos-833738f7023324172dbb0922fe1be9ad9cc88330.tar.xz
teachos-833738f7023324172dbb0922fe1be9ad9cc88330.zip
libs: rename kstd headers to be more STL like
Diffstat (limited to 'libs/kstd')
-rw-r--r--libs/kstd/CMakeLists.txt9
-rw-r--r--libs/kstd/include/kstd/memory (renamed from libs/kstd/include/kstd/memory.hpp)0
-rw-r--r--libs/kstd/include/kstd/mutex (renamed from libs/kstd/include/kstd/mutex.hpp)0
-rw-r--r--libs/kstd/include/kstd/stack (renamed from libs/kstd/include/kstd/stack.hpp)0
-rw-r--r--libs/kstd/include/kstd/vector (renamed from libs/kstd/include/kstd/vector.hpp)0
-rw-r--r--libs/kstd/src/mutex.cpp2
6 files changed, 9 insertions, 2 deletions
diff --git a/libs/kstd/CMakeLists.txt b/libs/kstd/CMakeLists.txt
index a29fac8..b0abaaf 100644
--- a/libs/kstd/CMakeLists.txt
+++ b/libs/kstd/CMakeLists.txt
@@ -9,7 +9,14 @@ target_sources("kstd" PUBLIC
FILE_SET HEADERS
BASE_DIRS "include"
FILES
- "include/kstd/mutex.hpp"
+ "include/kstd/bits/os.hpp"
+ "include/kstd/bits/shared_ptr.hpp"
+ "include/kstd/bits/unique_ptr.hpp"
+
+ "include/kstd/memory"
+ "include/kstd/mutex"
+ "include/kstd/stack"
+ "include/kstd/vector"
)
target_include_directories("kstd" PUBLIC
diff --git a/libs/kstd/include/kstd/memory.hpp b/libs/kstd/include/kstd/memory
index cab2fba..cab2fba 100644
--- a/libs/kstd/include/kstd/memory.hpp
+++ b/libs/kstd/include/kstd/memory
diff --git a/libs/kstd/include/kstd/mutex.hpp b/libs/kstd/include/kstd/mutex
index cf8549f..cf8549f 100644
--- a/libs/kstd/include/kstd/mutex.hpp
+++ b/libs/kstd/include/kstd/mutex
diff --git a/libs/kstd/include/kstd/stack.hpp b/libs/kstd/include/kstd/stack
index 8c702cf..8c702cf 100644
--- a/libs/kstd/include/kstd/stack.hpp
+++ b/libs/kstd/include/kstd/stack
diff --git a/libs/kstd/include/kstd/vector.hpp b/libs/kstd/include/kstd/vector
index 1009e81..1009e81 100644
--- a/libs/kstd/include/kstd/vector.hpp
+++ b/libs/kstd/include/kstd/vector
diff --git a/libs/kstd/src/mutex.cpp b/libs/kstd/src/mutex.cpp
index cfb1c84..137ebc0 100644
--- a/libs/kstd/src/mutex.cpp
+++ b/libs/kstd/src/mutex.cpp
@@ -1,4 +1,4 @@
-#include "kstd/mutex.hpp"
+#include "kstd/mutex"
namespace kstd
{