diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-09 09:35:49 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-09 09:35:49 +0400 |
commit | 221a383366cb40e4ddf4e4edcc82baed25525d39 (patch) | |
tree | 06d26acd96cf1d41ecfa4e85ddc66f702bb37096 /source/blender/blenlib/intern/BLI_heap.c | |
parent | ddddb7bab173b040342ef99270ee71ae076d45e8 (diff) |
use 'bool' for BLI_/BKE_ functions.
Diffstat (limited to 'source/blender/blenlib/intern/BLI_heap.c')
-rw-r--r-- | source/blender/blenlib/intern/BLI_heap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/BLI_heap.c b/source/blender/blenlib/intern/BLI_heap.c index aa54969b6f8..53489c76962 100644 --- a/source/blender/blenlib/intern/BLI_heap.c +++ b/source/blender/blenlib/intern/BLI_heap.c @@ -33,9 +33,10 @@ #include <string.h> #include "MEM_guardedalloc.h" + +#include "BLI_utildefines.h" #include "BLI_memarena.h" #include "BLI_heap.h" -#include "BLI_utildefines.h" /***/ @@ -183,7 +184,7 @@ HeapNode *BLI_heap_insert(Heap *heap, float value, void *ptr) return node; } -int BLI_heap_is_empty(Heap *heap) +bool BLI_heap_is_empty(Heap *heap) { return (heap->size == 0); } |