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-07-11 09:30:42 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-07-11 09:30:42 +0400
commit78d38a90332027609933be102e61438cb4c7f9f0 (patch)
tree5e613386953827189bd20af953e9d6c8e24e4943 /source/blender/blenlib/BLI_array.h
parent315609ec0c1e28eb12bde3e8bbd2a5b03672b1a9 (diff)
BLI_array: avoid mixing terms count/length
Diffstat (limited to 'source/blender/blenlib/BLI_array.h')
-rw-r--r--source/blender/blenlib/BLI_array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_array.h b/source/blender/blenlib/BLI_array.h
index f8e23629429..b2f0bd5fb40 100644
--- a/source/blender/blenlib/BLI_array.h
+++ b/source/blender/blenlib/BLI_array.h
@@ -144,7 +144,7 @@ void _bli_array_grow_func(void **arr_p, const void *arr_static,
/* set the count of the array, doesn't actually increase the allocated array
* size. don't use this unless you know what you're doing. */
-#define BLI_array_length_set(arr, count) \
+#define BLI_array_count_set(arr, count) \
{ _##arr##_count = (count); }(void)0
/* only to prevent unused warnings */