lib: make BT_ASSERT_{PRE,POST}() always on; add BT_ASSERT_{PRE,POST}_DEV()
[babeltrace.git] / src / lib / graph / message / message.c
index d720a3bdbfc23549c8f8c58250ec981f07db3b3d..5d1d8139b41eb7afad891809949b3c174a7afb1b 100644 (file)
@@ -26,6 +26,7 @@
 
 #include "common/assert.h"
 #include "lib/assert-pre.h"
+#include "lib/assert-post.h"
 #include <babeltrace2/graph/message-const.h>
 #include "lib/graph/message/message.h"
 #include "lib/graph/graph.h"
@@ -49,7 +50,7 @@ void bt_message_init(struct bt_message *message,
 enum bt_message_type bt_message_get_type(
                const struct bt_message *message)
 {
-       BT_ASSERT_PRE_NON_NULL(message, "Message");
+       BT_ASSERT_PRE_DEV_NON_NULL(message, "Message");
        return message->type;
 }
 
This page took 0.023861 seconds and 4 git commands to generate.