8db4b1b630b88cf731bd0141e4ddd1fd83091990
[babeltrace.git] / src / cpp-common / bt2c / fmt.hpp
1 /*
2 * Copyright (c) 2024 EfficiOS, inc.
3 *
4 * SPDX-License-Identifier: MIT
5 */
6
7 #include "common/common.h"
8 #include "cpp-common/bt2/message.hpp"
9 #include "cpp-common/vendor/fmt/format.h" /* IWYU pragma: keep */
10
11 namespace bt2 {
12
13 inline const char *format_as(const MessageType type)
14 {
15 return bt_common_message_type_string(static_cast<bt_message_type>(type));
16 }
17
18 } /* namespace bt2 */
This page took 0.031196 seconds and 3 git commands to generate.