configure.ac: don't make `tests/utils/env.sh` executable
[babeltrace.git] / src / cpp-common / bt2c / lib-str.hpp
1 /*
2 * Copyright (c) 2022 EfficiOS, Inc.
3 *
4 * SPDX-License-Identifier: MIT
5 */
6
7 #ifndef BABELTRACE_CPP_COMMON_BT2C_LIB_STR_HPP
8 #define BABELTRACE_CPP_COMMON_BT2C_LIB_STR_HPP
9
10 #include "cpp-common/bt2/message.hpp"
11
12 namespace bt2c {
13
14 static inline const char *messageTypeStr(const bt2::MessageType type)
15 {
16 return bt_common_message_type_string(static_cast<bt_message_type>(type));
17 }
18
19 } /* namespace bt2c */
20
21 #endif /* BABELTRACE_CPP_COMMON_BT2C_LIB_STR_HPP */
This page took 0.030961 seconds and 4 git commands to generate.