lib: internal: add BT_ASSERT_POST()
[babeltrace.git] / src / common / assert.h
index e24231a96c9aee70b88ca05549f524d88d706e99..4e7151deae85f4980b0eda4d6c26ca6f589dd73f 100644 (file)
@@ -36,8 +36,9 @@ extern void bt_common_assert_failed(const char *file, int line,
 
 /*
  * Internal assertion (to detect logic errors on which the library user
- * has no influence). Use BT_ASSERT_PRE() to check a precondition which
- * must be directly or indirectly satisfied by the library user.
+ * has no influence). Use BT_ASSERT_PRE() or BT_ASSERT_POST() to check
+ * preconditions or postconditions which must be directly or indirectly
+ * satisfied by the library user.
  */
 #define BT_ASSERT(_cond)                                                       \
        do {                                                                   \
This page took 0.024093 seconds and 4 git commands to generate.