summaryrefslogtreecommitdiffhomepage
path: root/lib/Macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Macros.h')
-rw-r--r--lib/Macros.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/Macros.h b/lib/Macros.h
index fb6e77e..35a44a1 100644
--- a/lib/Macros.h
+++ b/lib/Macros.h
@@ -12,25 +12,26 @@ extern "C"
#include <rang.h>
-#define LIKELY(ARG) (ARG) ? assert(false) : ((void)0)
+#define LIKELY(ARG) (ARG) ? assert(false) : ((void)0)
#define UNLIKELY(ARG) LIKELY(!(ARG))
-#define LIBBTB_VERSION "1.2.0"
+#define LIBBTB_VERSION "1.1.0"
-#define LIBBTB_VERSION_BCD 0x0120
+#define LIBBTB_VERSION_BCD 0x0110
#define LIBBTB_VERSION_MAJOR 1
-#define LIBBTB_VERSION_MINOR 0
+#define LIBBTB_VERSION_MINOR 1
#define LIBBTB_VERSION_PATCH 0
#define LIBBTB_UNUSED(X) ((void)X)
-namespace logger
+namespace BTB::Logger
{
+ /// @brief replacement for std::cout for BTB logging.
inline std::ostream& info() noexcept
{
auto& out = std::cout;
- out << rang::style::bold << rang::fg::red << "btb: " << rang::style::reset;
+ out << rang::fg::red << "btb: " << rang::style::reset;
return out;
}
-}
+} // namespace BTB::Logger