diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-10-07 22:40:11 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-10-07 22:40:11 +0400 |
commit | 37474e50cefe703331fc3042e4d009e8db0519cf (patch) | |
tree | f791d446129b4631690eb8b1a30009e4bb4903aa /extern/rangetree/range_tree_c_api.cc | |
parent | 22e9f4f838fb4f53bafdc05ab88f6aba3405e167 (diff) |
Cleanup: use bool
Diffstat (limited to 'extern/rangetree/range_tree_c_api.cc')
-rw-r--r-- | extern/rangetree/range_tree_c_api.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/extern/rangetree/range_tree_c_api.cc b/extern/rangetree/range_tree_c_api.cc index 56f2d90d329..79d3df5792b 100644 --- a/extern/rangetree/range_tree_c_api.cc +++ b/extern/rangetree/range_tree_c_api.cc @@ -53,19 +53,20 @@ void range_tree_uint_release(RangeTreeUInt *rt, unsigned v) rt->release(v); } -int range_tree_uint_has(const RangeTreeUInt *rt, unsigned v) +bool range_tree_uint_has(const RangeTreeUInt *rt, unsigned v) { return rt->has(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) { return rt->has_range(vmin, vmax); } -int range_tree_uint_empty(const RangeTreeUInt *rt) +bool range_tree_uint_empty(const RangeTreeUInt *rt) { return rt->empty(); } |