Sybren A. Stüvel
efd2e762f7
Refactor: Core, give the IDWALK_CB_… enum an explicit name
...
Give the `IDWALK_CB_…` enum an explicit name:
`LibraryForeachIDCallbackFlag`. This way the flags are type-safe, and
it's known where values come from. This is much preferred (at least by
me) to just having `int flags`.
Uses of `0` have been replaced with `IDWALK_CB_NOP` as that has the same
value and is of the right type.
One invalid use of `IDWALK_NOP` was detected by this change, and is
replaced by `IDWALK_CB_NOP`.
This change might be incomplete; I gave the enum a name, fixed the
compiler errors, and then also updated assignments like `int cb_flag =
cb_data->cb_flag`. I might have missed some assignments to `int` though.
No functional changes.
Pull Request: https://projects.blender.org/blender/blender/pulls/131865
2024-12-13 17:32:24 +01:00
..
2024-12-10 22:05:54 +01:00
2024-12-08 10:41:18 -05:00
2024-12-06 14:08:10 +01:00
2024-12-08 10:41:18 -05:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-08 10:41:18 -05:00
2024-07-15 16:39:45 +02:00
2024-07-15 16:39:45 +02:00
2024-12-08 10:41:18 -05:00
2024-12-08 10:41:18 -05:00
2024-12-08 10:41:18 -05:00
2024-12-08 10:41:18 -05:00
2024-12-08 10:41:18 -05:00
2024-07-15 16:39:45 +02:00
2024-07-15 16:39:45 +02:00
2024-12-08 10:41:18 -05:00
2024-08-29 12:08:50 +02:00
2024-12-09 17:05:42 +01:00
2024-12-06 14:08:10 +01:00
2024-12-10 17:19:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-13 09:01:54 +11:00
2024-11-05 16:35:16 +01:00
2024-12-10 11:53:55 +01:00
2024-12-10 11:53:55 +01:00
2024-12-08 10:41:18 -05:00
2024-12-08 10:41:18 -05:00
2024-12-08 10:41:18 -05:00
2024-12-08 10:41:18 -05:00
2024-12-11 10:07:59 -05:00
2024-12-08 10:41:18 -05:00
2024-12-06 14:08:10 +01:00
2024-08-23 13:09:20 +10:00
2024-08-23 13:09:20 +10:00
2023-08-16 00:20:26 +10:00
2024-08-23 13:09:20 +10:00
2024-12-08 10:41:18 -05:00
2024-12-08 10:41:18 -05:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-10 17:52:44 +01:00
2024-07-15 16:39:45 +02:00
2024-12-08 10:41:18 -05:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-07-15 16:39:45 +02:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-07-15 16:39:45 +02:00
2024-12-08 10:41:18 -05:00
2024-12-08 10:41:18 -05:00
2024-12-11 10:07:59 -05:00
2024-12-08 10:41:18 -05:00
2024-07-15 16:39:45 +02:00
2024-03-29 13:29:30 +11:00
2024-02-19 15:59:59 +01:00
2023-08-16 00:20:26 +10:00
2024-12-08 10:41:18 -05:00
2024-12-12 14:23:54 +01:00
2024-12-04 00:17:17 +01:00
2024-12-13 17:32:24 +01:00
2024-12-06 14:08:10 +01:00
2024-12-08 10:41:18 -05:00
2024-12-08 10:41:18 -05:00
2024-11-12 16:53:54 +01:00
2023-09-22 03:18:17 +02:00
2024-12-06 14:08:10 +01:00
2024-12-08 10:41:18 -05:00
2024-12-06 14:08:10 +01:00
2024-12-06 14:08:10 +01:00
2024-12-08 10:41:18 -05:00
2024-12-08 10:41:18 -05:00
2024-12-08 10:41:18 -05:00
2024-12-08 10:41:18 -05:00
2023-05-31 16:19:06 +02:00
2024-12-06 14:08:10 +01:00
2024-12-08 10:41:18 -05:00
2024-12-06 14:08:10 +01:00
2024-12-08 10:41:18 -05:00
2024-12-08 10:41:18 -05:00