The first one is
using ConstBytes = bt2s::span<const std::uint8_t>;
which we need at various locations.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Ic6cdaeca4b63c89bea8f51c7bb45f168039bd40f
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12705
CI-Build: Simon Marchi <simon.marchi@efficios.com>
Tested-by: jenkins <jenkins@lttng.org>
cpp-common/bt2/type-traits.hpp \
cpp-common/bt2/value.hpp \
cpp-common/bt2/wrap.hpp \
+ cpp-common/bt2c/aliases.hpp \
cpp-common/bt2c/align.hpp \
cpp-common/bt2c/bt2-value-from-json-val.cpp \
cpp-common/bt2c/bt2-value-from-json-val.hpp \
--- /dev/null
+/*
+ * Copyright (c) 2024 EfficiOS, Inc.
+ *
+ * SPDX-License-Identifier: MIT
+ */
+
+#ifndef BABELTRACE_CPP_COMMON_BT2C_ALIASES_HPP
+#define BABELTRACE_CPP_COMMON_BT2C_ALIASES_HPP
+
+#include <cstdint>
+
+#include "cpp-common/bt2s/span.hpp"
+
+namespace bt2c {
+
+using ConstBytes = bt2s::span<const std::uint8_t>;
+
+} /* namespace bt2c */
+
+#endif /* BABELTRACE_CPP_COMMON_BT2C_ALIASES_HPP */