#define BT_LOG_TAG "LIB/MSG-DISCARDED-ITEMS"
#include "lib/logging.h"
+#include <stdbool.h>
+
#include "lib/assert-pre.h"
#include "lib/object.h"
#include "compat/compiler.h"
{
struct bt_message_discarded_items *disc_items_msg = (void *) message;
- BT_ASSERT(message);
+ BT_ASSERT_DBG(message);
return disc_items_msg->stream;
}
struct bt_message_discarded_items *disc_items_msg = (void *) message;
BT_ASSERT_PRE_DEV_NON_NULL(count, "Count (output)");
- BT_ASSERT(message);
+ BT_ASSERT_DBG(message);
*count = disc_items_msg->count.value;
return disc_items_msg->count.base.avail;
}
{
struct bt_message_discarded_items *disc_items_msg = (void *) message;
- BT_ASSERT(message);
+ BT_ASSERT_DBG(message);
BT_ASSERT_PRE_DEV(disc_items_msg->stream->class->default_clock_class,
"Message's stream's class has no default clock class: "
"%![msg-]+n, %![sc-]+S",
{
struct bt_message_discarded_items *disc_items_msg = (void *) message;
- BT_ASSERT(message);
+ BT_ASSERT_DBG(message);
BT_ASSERT_PRE_DEV(disc_items_msg->stream->class->default_clock_class,
"Message's stream's class has no default clock class: "
"%![msg-]+n, %![sc-]+S",
{
struct bt_message_discarded_items *disc_items_msg = (void *) msg;
- BT_ASSERT(msg);
+ BT_ASSERT_DBG(msg);
return disc_items_msg->stream->class->default_clock_class;
}