diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-30 09:26:42 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-30 10:01:22 +0300 |
commit | a8ec7845e0bdb9e63e9d3dbd7f4cd7caad36b5a2 (patch) | |
tree | 4531232281ddc4cda4df3fb1ccc0822018fe5682 /source/blender/blenlib/BLI_task.h | |
parent | af3aaf80344e745e6c207102941513cb631194c3 (diff) |
Cleanup: use "num" as a suffix in: source/blender/blenlib
Also replace "num" with:
- "number" when it's not used to denote the number of items.
- "digits" when digits in a string are being manipulated.
Diffstat (limited to 'source/blender/blenlib/BLI_task.h')
-rw-r--r-- | source/blender/blenlib/BLI_task.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/BLI_task.h b/source/blender/blenlib/BLI_task.h index 1bd49165048..3be492009b0 100644 --- a/source/blender/blenlib/BLI_task.h +++ b/source/blender/blenlib/BLI_task.h @@ -238,18 +238,18 @@ typedef void (*TaskParallelIteratorFunc)(void *__restrict userdata, * \param iter_func: Callback function used to generate chunks of items. * \param init_item: The initial item, if necessary (may be NULL if unused). * \param init_index: The initial index. - * \param tot_items: The total amount of items to iterate over + * \param items_num: The total amount of items to iterate over * (if unknown, set it to a negative number). * \param func: Callback function. * \param settings: See public API doc of TaskParallelSettings for description of all settings. * - * \note Static scheduling is only available when \a tot_items is >= 0. + * \note Static scheduling is only available when \a items_num is >= 0. */ void BLI_task_parallel_iterator(void *userdata, TaskParallelIteratorIterFunc iter_func, void *init_item, int init_index, - int tot_items, + int items_num, TaskParallelIteratorFunc func, const TaskParallelSettings *settings); |