From e49d66f22cf7ac14e7254150387eb8e07114f20c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 28 Mar 2018 11:23:38 +0200 Subject: [PATCH] Cleanup: typo in function name --- source/blender/blenlib/BLI_array_utils.h | 6 +++--- source/blender/blenlib/intern/array_utils.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source/blender/blenlib/BLI_array_utils.h b/source/blender/blenlib/BLI_array_utils.h index 644faad636a..9a510bcfc3b 100644 --- a/source/blender/blenlib/BLI_array_utils.h +++ b/source/blender/blenlib/BLI_array_utils.h @@ -81,11 +81,11 @@ bool _bli_array_iter_span( arr, arr_len, sizeof(*(arr)), use_wrap, use_delimit_bounds, test_fn, user_data, \ span_step, r_span_len) -bool _bli_array_is_zerod( +bool _bli_array_is_zeroed( const void *arr, unsigned int arr_len, size_t arr_stride); -#define BLI_array_is_zerod(arr, arr_len) \ - _bli_array_is_zerod( \ +#define BLI_array_is_zeroed(arr, arr_len) \ + _bli_array_is_zeroed( \ arr, arr_len, sizeof(*(arr))) #endif /* __BLI_ARRAY_UTILS_H__ */ diff --git a/source/blender/blenlib/intern/array_utils.c b/source/blender/blenlib/intern/array_utils.c index e407a92d6f6..7b2d35a763c 100644 --- a/source/blender/blenlib/intern/array_utils.c +++ b/source/blender/blenlib/intern/array_utils.c @@ -310,9 +310,9 @@ bool _bli_array_iter_span( } /** - * Simple utility to check memory is zero'd. + * Simple utility to check memory is zeroed. */ -bool _bli_array_is_zerod( +bool _bli_array_is_zeroed( const void *arr_v, unsigned int arr_len, size_t arr_stride) {