Typo in BLI_array_utils.h #56195

Closed
opened 2018-08-01 15:45:31 +02:00 by Lucas OH · 5 comments

Short description of error
On this file : https://developer.blender.org/diffusion/B/browse/blender2.8/source/blender/blenlib/BLI_array_utils.h;c48eb521642b5d94e5f0eb8fd15f7d587f407078$44-45
(source/blender/blenlib/BLI_array_utils.h)
Line 44-45 the name of a parameter changes : "index" becomes "order".
Should be :


#define BLI_array_permute_ex(arr, arr_len, order, arr_temp) \
  _bli_array_permute(arr, arr_len, sizeof(*(arr)), order, arr_temp)

Exact steps for others to reproduce the error
Typo on unused macro, it doesn't affect anything. Not a bug "for the moment", but might become one if someone uses this macro.

**Short description of error** On this file : https://developer.blender.org/diffusion/B/browse/blender2.8/source/blender/blenlib/BLI_array_utils.h;c48eb521642b5d94e5f0eb8fd15f7d587f407078$44-45 (source/blender/blenlib/BLI_array_utils.h) Line 44-45 the name of a parameter changes : "index" becomes "order". Should be : ``` #define BLI_array_permute_ex(arr, arr_len, order, arr_temp) \ _bli_array_permute(arr, arr_len, sizeof(*(arr)), order, arr_temp) ``` **Exact steps for others to reproduce the error** Typo on unused macro, it doesn't affect anything. Not a bug "for the moment", but might become one if someone uses this macro.
Author

Added subscriber: @PtiLuky

Added subscriber: @PtiLuky

Added subscriber: @mont29

Added subscriber: @mont29
Bastien Montagne self-assigned this 2018-08-01 16:12:21 +02:00

thanks, will fix.

thanks, will fix.

This issue was referenced by 9336aef4eb

This issue was referenced by 9336aef4eb279804ee5cccec63d818810233e6c5

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blender/blender#56195
No description provided.