Cleanup: typo in function name

This commit is contained in:
Campbell Barton 2018-03-28 11:23:38 +02:00
parent a970ac5d55
commit e49d66f22c
2 changed files with 5 additions and 5 deletions

@ -81,11 +81,11 @@ bool _bli_array_iter_span(
arr, arr_len, sizeof(*(arr)), use_wrap, use_delimit_bounds, test_fn, user_data, \ arr, arr_len, sizeof(*(arr)), use_wrap, use_delimit_bounds, test_fn, user_data, \
span_step, r_span_len) span_step, r_span_len)
bool _bli_array_is_zerod( bool _bli_array_is_zeroed(
const void *arr, const void *arr,
unsigned int arr_len, size_t arr_stride); unsigned int arr_len, size_t arr_stride);
#define BLI_array_is_zerod(arr, arr_len) \ #define BLI_array_is_zeroed(arr, arr_len) \
_bli_array_is_zerod( \ _bli_array_is_zeroed( \
arr, arr_len, sizeof(*(arr))) arr, arr_len, sizeof(*(arr)))
#endif /* __BLI_ARRAY_UTILS_H__ */ #endif /* __BLI_ARRAY_UTILS_H__ */

@ -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, const void *arr_v,
unsigned int arr_len, size_t arr_stride) unsigned int arr_len, size_t arr_stride)
{ {