瀏覽代碼

Correct include guard names

Kajetan Johannes Hammerle 1 月之前
父節點
當前提交
64eee0dbde
共有 6 個文件被更改,包括 11 次插入17 次删除
  1. 1 7
      CMakeLists.txt
  2. 2 2
      include/core/utils/Check.h
  3. 2 2
      include/core/utils/Logger.h
  4. 2 2
      include/core/utils/Types.h
  5. 2 2
      test/Test.h
  6. 2 2
      test/Tests.h

+ 1 - 7
CMakeLists.txt

@@ -6,7 +6,6 @@ set(CMAKE_C_STANDARD 23)
 set(SRC
     "src/Logger.c"
     "src/Utility.c"
-    #"src/Error.cpp"
     #"src/Buffer.cpp"
     #"src/Clock.cpp"
     #"src/Random.cpp"
@@ -36,7 +35,6 @@ set(SRC_TESTS
     #"test/modules/MathTests.cpp"
     #"test/modules/ListTests.cpp"
     #"test/modules/LinkedListTests.cpp"
-    #"test/modules/UniquePointerTests.cpp"
     #"test/modules/HashMapTests.cpp"
     #"test/modules/StackTests.cpp"
     #"test/modules/RingBufferTests.cpp"
@@ -56,7 +54,6 @@ set(SRC_TESTS
     #"test/modules/RandomTests.cpp"
     #"test/modules/ThreadTests.cpp"
     #"test/modules/FileReaderTests.cpp"
-    #"test/modules/ErrorTests.cpp"
     #"test/modules/HashedStringTests.cpp"
 )
 
@@ -186,14 +183,11 @@ target_sources(core PUBLIC
         ./include/core/utils/Check.h
 #        ./include/core/utils/Buffer.hpp
 #        ./include/core/utils/Random.hpp
-#        ./include/core/utils/UniquePointer.hpp
-#        ./include/core/utils/Types.hpp
+        ./include/core/utils/Types.h
 #        ./include/core/utils/Color.hpp
         ./include/core/utils/Logger.h
 #        ./include/core/utils/ArrayString.hpp
         ./include/core/utils/Utility.h
-#        ./include/core/utils/Meta.hpp
-#        ./include/core/utils/AlignedData.hpp
 #        ./include/core/utils/Clock.hpp
         ./include/core/utils/Error.h
 #        ./include/core/math/Quaternion.hpp

+ 2 - 2
include/core/utils/Check.h

@@ -1,5 +1,5 @@
-#ifndef CORE_CHECK_HPP
-#define CORE_CHECK_HPP
+#ifndef CORE_CHECK_H
+#define CORE_CHECK_H
 
 #if defined(__STDC_VERSION__) && __STDC_VERSION__ > 202300L
 #define check_return [[nodiscard]]

+ 2 - 2
include/core/utils/Logger.h

@@ -1,5 +1,5 @@
-#ifndef CORE_LOGGER_HPP
-#define CORE_LOGGER_HPP
+#ifndef CORE_LOGGER_H
+#define CORE_LOGGER_H
 
 #include "core/utils/Check.h"
 

+ 2 - 2
include/core/utils/Types.h

@@ -1,5 +1,5 @@
-#ifndef CORE_TYPES_HPP
-#define CORE_TYPES_HPP
+#ifndef CORE_TYPES_H
+#define CORE_TYPES_H
 
 #include <stddef.h>
 #include <stdint.h>

+ 2 - 2
test/Test.h

@@ -1,5 +1,5 @@
-#ifndef CORE_TEST_HPP
-#define CORE_TEST_HPP
+#ifndef CORE_TEST_H
+#define CORE_TEST_H
 
 #include "core/utils/Types.h"
 

+ 2 - 2
test/Tests.h

@@ -1,5 +1,5 @@
-#ifndef CORE_TESTS_HPP
-#define CORE_TESTS_HPP
+#ifndef CORE_TESTS_H
+#define CORE_TESTS_H
 
 #include "Test.h"