return (void *) field_wrapper->field;
}
-void bt_event_header_field_release(struct bt_event_header_field *header_field)
+void bt_event_header_field_release(
+ struct bt_event_header_field *header_field)
{
struct bt_field_wrapper *field_wrapper = (void *) header_field;
struct bt_field_wrapper *field_wrapper;
BT_ASSERT_PRE_NON_NULL(stream_class, "Stream class");
- BT_ASSERT_PRE(bt_stream_class_borrow_trace_inline(stream_class),
+ BT_ASSERT_PRE(bt_stream_class_borrow_trace_class_inline(stream_class),
"Stream class is not part of a trace: %!+S", stream_class);
BT_ASSERT_PRE(stream_class->event_header_fc,
- "Stream class has no event header field classe: %!+S",
+ "Stream class has no event header field class: %!+S",
stream_class);
field_wrapper = bt_field_wrapper_create(
&stream_class->event_header_field_pool,