| 1 | /* |
| 2 | * Copyright (c) 2024 Philippe Proulx <pproulx@efficios.com> |
| 3 | * |
| 4 | * SPDX-License-Identifier: MIT |
| 5 | */ |
| 6 | |
| 7 | #ifndef BABELTRACE_CPP_COMMON_BT2S_SPAN_HPP |
| 8 | #define BABELTRACE_CPP_COMMON_BT2S_SPAN_HPP |
| 9 | |
| 10 | #define span_FEATURE_MAKE_SPAN 1 |
| 11 | |
| 12 | #ifdef BT_DEBUG_MODE |
| 13 | # define span_CONFIG_CONTRACT_LEVEL_ON 1 |
| 14 | #else |
| 15 | # define span_CONFIG_CONTRACT_LEVEL_OFF 1 |
| 16 | #endif |
| 17 | |
| 18 | #include "cpp-common/vendor/span-lite/span.hpp" /* IWYU pragma: export */ |
| 19 | |
| 20 | namespace bt2s { |
| 21 | |
| 22 | using nonstd::dynamic_extent; |
| 23 | using nonstd::span; |
| 24 | |
| 25 | } /* namespace bt2s */ |
| 26 | |
| 27 | #endif /* BABELTRACE_CPP_COMMON_BT2S_SPAN_HPP */ |