aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/tri.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/tri.h b/core/tri.h
index 3837e95..1589345 100644
--- a/core/tri.h
+++ b/core/tri.h
@@ -586,6 +586,11 @@ static inline bool tri_eq(tri_t a, tri_t b)
return a == b;
}
+static inline bool tri_ne(tri_t a, tri_t b)
+{
+ return a != b;
+}
+
static inline bool tri_lt(tri_t a, tri_t b)
{
tri_t r = tri_sub(a, b);