#include <babeltrace/compiler-internal.h>
#include <babeltrace/ctf-ir/packet.h>
#include <babeltrace/graph/notification-internal.h>
+#include <babeltrace/assert-internal.h>
struct bt_notification_packet_begin {
struct bt_notification parent;
container_of(notif,
struct bt_notification_packet_begin, parent);
- assert(notif_packet_begin);
+ BT_ASSERT(notif_packet_begin);
return notif_packet_begin->packet;
}
container_of(notif,
struct bt_notification_packet_end, parent);
- assert(notif_packet_end);
+ BT_ASSERT(notif_packet_end);
return notif_packet_end->packet;
}