[Intel-gfx] [PATCH i-g-t 12/18] docs: Add documentation for igt_assert_u32()
Damien Lespiau
damien.lespiau at intel.com
Sat Jun 27 08:08:10 PDT 2015
Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
---
lib/igt_core.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/lib/igt_core.h b/lib/igt_core.h
index d79f6d2..f5c7194 100644
--- a/lib/igt_core.h
+++ b/lib/igt_core.h
@@ -367,6 +367,14 @@ void igt_exit(void) __attribute__((noreturn));
* of simply printing the stringified expression.
*/
#define igt_assert_eq(n1, n2) igt_assert_cmpint(n1, ==, !=, n2)
+
+/**
+ * igt_assert_eq_u32:
+ * @n1: first integer
+ * @n2: second integer
+ *
+ * Like igt_assert_eq(), but for uint32_t.
+ */
#define igt_assert_eq_u32(n1, n2) igt_assert_cmpuint(n1, ==, !=, n2)
/**
--
2.1.0
More information about the Intel-gfx
mailing list