Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-06-28 17:07:32 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-06-28 17:17:11 +0400
commitdcc361708c3a8af16d433ce0326e292f8d4732cc (patch)
tree519774ea6125c00f84ab3dfa4be3d2fa80c325a6 /source/blender/blenlib/BLI_stack.h
parentc0c75ff1ac742ac7871e3c67a56ffe71ff5d918d (diff)
BLI_stack: use strict flags
also use size_t, rename BLI_stack_empty
Diffstat (limited to 'source/blender/blenlib/BLI_stack.h')
-rw-r--r--source/blender/blenlib/BLI_stack.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_stack.h b/source/blender/blenlib/BLI_stack.h
index 564ff513490..ac96195d390 100644
--- a/source/blender/blenlib/BLI_stack.h
+++ b/source/blender/blenlib/BLI_stack.h
@@ -31,7 +31,7 @@
typedef struct BLI_Stack BLI_Stack;
/* Create a new homogeneous stack with elements of 'elem_size' bytes */
-BLI_Stack *BLI_stack_new(int elem_size, const char *description);
+BLI_Stack *BLI_stack_new(size_t elem_size, const char *description);
/* Free the stack's data and the stack itself */
void BLI_stack_free(BLI_Stack *stack);
@@ -49,6 +49,6 @@ void BLI_stack_push(BLI_Stack *stack, void *src);
void BLI_stack_pop(BLI_Stack *stack, void *dst);
/* Returns true if the stack is empty, false otherwise */
-int BLI_stack_empty(const BLI_Stack *stack);
+bool BLI_stack_is_empty(const BLI_Stack *stack);
#endif