lib: merge `assert-pre.h` and `assert-post.h` into `assert-cond.h`
[babeltrace.git] / src / lib / graph / graph.h
index 61c2e29ef40910146c173b7b8abb29189a4752df..66654939417029f9a010c7181ce780dcde369004 100644 (file)
 # error Please include "lib/logging.h" before including this file.
 #endif
 
-/* Protection: this file uses BT_ASSERT_PRE*() macros directly */
-#ifndef BT_ASSERT_PRE_SUPPORTED
-# error Please include "lib/assert-pre.h" before including this file.
-#endif
-
-/* Protection: this file uses BT_ASSERT_POST*() macros directly */
-#ifndef BT_ASSERT_POST_SUPPORTED
-# error Please include "lib/assert-post.h" before including this file.
+/*
+ * Protection: this file uses precondition and postcondition assertion
+ * macros directly.
+ */
+#ifndef BT_ASSERT_COND_SUPPORTED
+# error Please include "lib/assert-cond.h" before including this file.
 #endif
 
 struct bt_component;
This page took 0.026151 seconds and 4 git commands to generate.