summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-01-24 10:20:20 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-01-24 10:20:20 +0100
commitc1aef2468265ca02a2e868e1b1a207e07a51d24a (patch)
tree4887cdc1373fcd8779bbfc875aa18b72c4fd9372 /include
parent28dd60c619aaa9c5e4100779f60e6e11864900cb (diff)
chore: update header guards.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/ocl/allocator_op.hpp6
-rw-r--r--include/ocl/basic_hash.hpp4
-rw-r--r--include/ocl/crc_hash.hpp6
-rw-r--r--include/ocl/detail/config.hpp6
-rw-r--r--include/ocl/equiv.hpp4
-rw-r--r--include/ocl/io.hpp6
-rw-r--r--include/ocl/option.hpp6
-rw-r--r--include/ocl/print.hpp6
-rw-r--r--include/ocl/smart_ptr.hpp6
-rw-r--r--include/ocl/tracked_ptr.hpp6
10 files changed, 28 insertions, 28 deletions
diff --git a/include/ocl/allocator_op.hpp b/include/ocl/allocator_op.hpp
index d3506e0..85648ca 100644
--- a/include/ocl/allocator_op.hpp
+++ b/include/ocl/allocator_op.hpp
@@ -3,8 +3,8 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// Official repository: https://github.com/ocl-org/core
-#ifndef __OCL_CORE_ALLOCATOR_OP
-#define __OCL_CORE_ALLOCATOR_OP
+#ifndef OCL_CORE_ALLOCATOR_OP
+#define OCL_CORE_ALLOCATOR_OP
#include <ocl/detail/config.hpp>
#include <memory>
@@ -84,4 +84,4 @@ namespace ocl
} // namespace ocl
-#endif // ifndef __OCL_CORE_ALLOCATOR_OP
+#endif // ifndef OCL_CORE_ALLOCATOR_OP
diff --git a/include/ocl/basic_hash.hpp b/include/ocl/basic_hash.hpp
index 852e67d..777100e 100644
--- a/include/ocl/basic_hash.hpp
+++ b/include/ocl/basic_hash.hpp
@@ -3,8 +3,8 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// Official repository: https://github.com/ocl-org/core
-#ifndef __OCL_CORE_BASIC_HASH
-#define __OCL_CORE_BASIC_HASH
+#ifndef OCL_CORE_BASIC_HASH
+#define OCL_CORE_BASIC_HASH
#include <ocl/detail/config.hpp>
diff --git a/include/ocl/crc_hash.hpp b/include/ocl/crc_hash.hpp
index 412ec63..9af8819 100644
--- a/include/ocl/crc_hash.hpp
+++ b/include/ocl/crc_hash.hpp
@@ -3,8 +3,8 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// Official repository: https://github.com/ocl-org/core
-#ifndef __OCL_CORE_CRC_HASH
-#define __OCL_CORE_CRC_HASH
+#ifndef OCL_CORE_CRC_HASH
+#define OCL_CORE_CRC_HASH
#include <ocl/detail/config.hpp>
#include <unordered_map>
@@ -137,4 +137,4 @@ namespace std
} // namespace std
-#endif // !__OCL_CORE_CRC_HASH
+#endif // !OCL_CORE_CRC_HASH
diff --git a/include/ocl/detail/config.hpp b/include/ocl/detail/config.hpp
index 9df8597..f6d4223 100644
--- a/include/ocl/detail/config.hpp
+++ b/include/ocl/detail/config.hpp
@@ -5,10 +5,10 @@
* Copyright 2025, Amlal El Mahrouss, licensed under the Boost Software License.
*/
-#ifndef __OCL_CORE_CONFIG
-#define __OCL_CORE_CONFIG
+#ifndef OCL_CORE_CONFIG
+#define OCL_CORE_CONFIG
-#ifndef __OCL_FREESTANDING
+#ifndef OCL_FREESTANDING
#include <boost/config.hpp>
#include <boost/core/addressof.hpp>
#include <boost/core/nvp.hpp>
diff --git a/include/ocl/equiv.hpp b/include/ocl/equiv.hpp
index 7e14523..b2c65e5 100644
--- a/include/ocl/equiv.hpp
+++ b/include/ocl/equiv.hpp
@@ -3,8 +3,8 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// Official repository: https://github.com/ocl-org/core
-#ifndef __OCL_CORE_EQUIV
-#define __OCL_CORE_EQUIV
+#ifndef OCL_CORE_EQUIV
+#define OCL_CORE_EQUIV
#include <ocl/detail/config.hpp>
diff --git a/include/ocl/io.hpp b/include/ocl/io.hpp
index 6d467e0..39fbc1a 100644
--- a/include/ocl/io.hpp
+++ b/include/ocl/io.hpp
@@ -3,12 +3,12 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// Official repository: https://github.com/ocl-org/core
-#ifndef __OCL_CORE_IO
-#define __OCL_CORE_IO
+#ifndef OCL_CORE_IO
+#define OCL_CORE_IO
#include <ocl/detail/config.hpp>
-#ifndef __OCL_FREESTANDING
+#ifndef OCL_FREESTANDING
#define console_io_out std::cout
#define console_io_in std::cin
diff --git a/include/ocl/option.hpp b/include/ocl/option.hpp
index e137302..9105f2c 100644
--- a/include/ocl/option.hpp
+++ b/include/ocl/option.hpp
@@ -3,8 +3,8 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// Official repository: https://github.com/ocl-org/core
-#ifndef __OCL_CORE_OPTION
-#define __OCL_CORE_OPTION
+#ifndef OCL_CORE_OPTION
+#define OCL_CORE_OPTION
#include <ocl/detail/config.hpp>
#include <ocl/print.hpp>
@@ -151,4 +151,4 @@ namespace ocl
} // namespace ocl
-#endif /* ifndef __OCL_CORE_OPTION */
+#endif /* ifndef OCL_CORE_OPTION */
diff --git a/include/ocl/print.hpp b/include/ocl/print.hpp
index 1483ed6..da0f65e 100644
--- a/include/ocl/print.hpp
+++ b/include/ocl/print.hpp
@@ -3,8 +3,8 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// Official repository: https://github.com/ocl-org/core
-#ifndef __OCL_CORE_PRINT
-#define __OCL_CORE_PRINT
+#ifndef OCL_CORE_PRINT
+#define OCL_CORE_PRINT
#include <ocl/detail/config.hpp>
#include <ocl/io.hpp>
@@ -84,4 +84,4 @@ namespace ocl::io
} // namespace ocl::io
-#endif // ifndef __OCL_CORE_PRINT
+#endif // ifndef OCL_CORE_PRINT
diff --git a/include/ocl/smart_ptr.hpp b/include/ocl/smart_ptr.hpp
index c144361..7d76f46 100644
--- a/include/ocl/smart_ptr.hpp
+++ b/include/ocl/smart_ptr.hpp
@@ -3,8 +3,8 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// Official repository: https://github.com/ocl-org/core
-#ifndef __OCL_SMART_PTR
-#define __OCL_SMART_PTR
+#ifndef OCL_SMART_PTR
+#define OCL_SMART_PTR
#include <boost/core/null_deleter.hpp>
#include <ocl/detail/config.hpp>
@@ -32,4 +32,4 @@ namespace ocl
} // namespace ocl
-#endif // ifndef __OCL_SMART_PTR
+#endif // ifndef OCL_SMART_PTR
diff --git a/include/ocl/tracked_ptr.hpp b/include/ocl/tracked_ptr.hpp
index 0f32b93..8a8b25f 100644
--- a/include/ocl/tracked_ptr.hpp
+++ b/include/ocl/tracked_ptr.hpp
@@ -3,8 +3,8 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// Official repository: https://github.com/ocl-org/core
-#ifndef __OCL_TRACKED_PTR
-#define __OCL_TRACKED_PTR
+#ifndef OCL_TRACKED_PTR
+#define OCL_TRACKED_PTR
#include "boost/assert/source_location.hpp"
#include <ocl/detail/config.hpp>
@@ -238,4 +238,4 @@ namespace ocl
} // namespace ocl
-#endif // ifndef __OCL_TRACKED_PTR
+#endif // ifndef OCL_TRACKED_PTR