trace.
*/
extern bt_stream *bt_stream_create(bt_stream_class *stream_class,
- bt_trace *trace);
+ bt_trace *trace) __BT_NOEXCEPT;
/*!
@brief
*/
extern bt_stream *bt_stream_create_with_id(
bt_stream_class *stream_class,
- bt_trace *trace, uint64_t id);
+ bt_trace *trace, uint64_t id) __BT_NOEXCEPT;
/*! @} */
@sa bt_stream_borrow_class_const() —
\c const version of this function.
*/
-extern bt_stream_class *bt_stream_borrow_class(bt_stream *stream);
+extern bt_stream_class *bt_stream_borrow_class(bt_stream *stream) __BT_NOEXCEPT;
/*!
@brief
See bt_stream_borrow_class().
*/
extern const bt_stream_class *bt_stream_borrow_class_const(
- const bt_stream *stream);
+ const bt_stream *stream) __BT_NOEXCEPT;
/*! @} */
@sa bt_stream_borrow_trace_const() —
\c const version of this function.
*/
-extern bt_trace *bt_stream_borrow_trace(bt_stream *stream);
+extern bt_trace *bt_stream_borrow_trace(bt_stream *stream) __BT_NOEXCEPT;
/*!
@brief
See bt_stream_borrow_trace().
*/
extern const bt_trace *bt_stream_borrow_trace_const(
- const bt_stream *stream);
+ const bt_stream *stream) __BT_NOEXCEPT;
/*! @} */
Creates a stream with a specific numeric ID and adds it to a
trace.
*/
-extern uint64_t bt_stream_get_id(const bt_stream *stream);
+extern uint64_t bt_stream_get_id(const bt_stream *stream) __BT_NOEXCEPT;
/*!
@brief
Returns the name of a stream.
*/
extern bt_stream_set_name_status bt_stream_set_name(bt_stream *stream,
- const char *name);
+ const char *name) __BT_NOEXCEPT;
/*!
@brief
@sa bt_stream_class_set_name() —
Sets the name of a stream.
*/
-extern const char *bt_stream_get_name(const bt_stream *stream);
+extern const char *bt_stream_get_name(const bt_stream *stream) __BT_NOEXCEPT;
/*!
@brief
Borrows the user attributes of a stream.
*/
extern void bt_stream_set_user_attributes(
- bt_stream *stream, const bt_value *user_attributes);
+ bt_stream *stream, const bt_value *user_attributes)
+ __BT_NOEXCEPT;
/*!
@brief
@sa bt_stream_borrow_user_attributes_const() —
\c const version of this function.
*/
-extern bt_value *bt_stream_borrow_user_attributes(bt_stream *stream);
+extern bt_value *bt_stream_borrow_user_attributes(bt_stream *stream)
+ __BT_NOEXCEPT;
/*!
@brief
See bt_stream_borrow_user_attributes().
*/
extern const bt_value *bt_stream_borrow_user_attributes_const(
- const bt_stream *stream);
+ const bt_stream *stream) __BT_NOEXCEPT;
/*! @} */
@sa bt_stream_put_ref() —
Decrements the reference count of a stream.
*/
-extern void bt_stream_get_ref(const bt_stream *stream);
+extern void bt_stream_get_ref(const bt_stream *stream) __BT_NOEXCEPT;
/*!
@brief
@sa bt_stream_get_ref() —
Increments the reference count of a stream.
*/
-extern void bt_stream_put_ref(const bt_stream *stream);
+extern void bt_stream_put_ref(const bt_stream *stream) __BT_NOEXCEPT;
/*!
@brief