Cleanup: use bool
[blender-staging.git] / extern / rangetree / range_tree_c_api.h
index af6a7b161a8386a6f2d8aa9facd54ea41978e3c3..d78dc959a6c2005fd82ff3da8c83cd318852f6fd 100644 (file)
@@ -39,13 +39,13 @@ unsigned range_tree_uint_take_any(RangeTreeUInt *rt);
 
 void range_tree_uint_release(RangeTreeUInt *rt, unsigned v);
 
-int range_tree_uint_has(const RangeTreeUInt *rt, unsigned v);
+bool range_tree_uint_has(const RangeTreeUInt *rt, unsigned v);
 
-int range_tree_uint_has_range(const RangeTreeUInt *rt,
-                                                         unsigned vmin,
-                                                         unsigned vmax);
+bool range_tree_uint_has_range(
+        const RangeTreeUInt *rt,
+        unsigned vmin, unsigned vmax);
 
-int range_tree_uint_empty(const RangeTreeUInt *rt);
+bool range_tree_uint_empty(const RangeTreeUInt *rt);
 
 unsigned range_tree_uint_size(const RangeTreeUInt *rt);