include/babeltrace2: add `noexcept` specifier for C++ ≥ 11
[babeltrace.git] / include / babeltrace2 / logging.h
index 2b5da45cecd584aa0e5bf9470c46c8bfee92a47b..146601867494b209495621091fc502d0cd71a93a 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef BABELTRACE2_LOGGING_H
 #define BABELTRACE2_LOGGING_H
 
+/* IWYU pragma: private, include <babeltrace2/babeltrace.h> */
+
 #ifndef __BT_IN_BABELTRACE_H
 # error "Please include <babeltrace2/babeltrace.h> instead."
 #endif
@@ -187,7 +189,8 @@ individual components and query operations.
 @sa bt_logging_get_global_level() &mdash;
     Returns the current library's global logging level.
 */
-extern void bt_logging_set_global_level(bt_logging_level logging_level);
+extern void bt_logging_set_global_level(bt_logging_level logging_level)
+               __BT_NOEXCEPT;
 
 /*!
 @brief
@@ -199,7 +202,7 @@ extern void bt_logging_set_global_level(bt_logging_level logging_level);
 @sa bt_logging_set_global_level() &mdash;
     Sets the current library's global logging level.
 */
-extern bt_logging_level bt_logging_get_global_level(void);
+extern bt_logging_level bt_logging_get_global_level(void) __BT_NOEXCEPT;
 
 /*!
 @brief
@@ -218,7 +221,7 @@ are not built.
 @sa bt_logging_get_global_level() &mdash;
     Returns the current library's global logging level.
 */
-extern bt_logging_level bt_logging_get_minimal_level(void);
+extern bt_logging_level bt_logging_get_minimal_level(void) __BT_NOEXCEPT;
 
 /*! @} */
 
This page took 0.023371 seconds and 4 git commands to generate.