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-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-12-13 14:54:19 +01:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-10-12 00:20:55 +11:00
2024-09-25 18:04:27 +02:00
2024-11-03 15:44:35 +11:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-11-03 15:44:35 +11:00
2024-09-25 18:04:27 +02:00
2024-11-03 15:44:35 +11:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-10-12 00:20:55 +11:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-10-12 00:20:55 +11:00
2024-09-25 18:04:27 +02:00
2024-10-30 15:08:37 +01:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-10-23 19:45:57 +11:00
2024-11-27 20:32:50 +11:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-11-03 16:07:40 +11:00
2024-11-03 16:07:40 +11:00
2024-09-25 18:04:27 +02:00
2024-11-25 19:09:56 +01:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-10-12 00:20:55 +11:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:27 +02:00
2024-11-15 17:36:22 +01:00
2024-09-25 18:04:27 +02:00
2024-11-03 16:07:40 +11:00
2024-09-25 18:04:27 +02:00
2024-09-25 18:04:33 +02:00
2024-09-25 18:04:33 +02:00
2024-09-25 18:04:27 +02:00
2024-11-03 15:44:35 +11:00
2024-09-25 18:04:27 +02:00
2024-11-03 16:07:40 +11:00
2024-09-25 18:04:27 +02:00
2024-10-30 15:08:37 +01:00
2024-09-25 18:04:27 +02:00
2024-11-03 16:07:40 +11:00
2024-09-25 18:04:27 +02:00
2024-12-13 17:32:24 +01:00
2024-09-25 18:04:27 +02:00
2024-11-03 15:44:35 +11:00
2024-09-25 18:04:27 +02:00
2024-11-03 16:07:40 +11:00
2024-09-25 18:04:27 +02:00
2024-11-03 15:44:35 +11:00
2024-09-25 18:04:27 +02:00
2024-10-30 15:08:37 +01:00
2024-09-25 18:04:27 +02:00
2024-12-11 13:39:24 +01:00
2024-10-30 15:08:37 +01:00
2024-09-26 21:13:39 +10:00
2024-09-25 18:04:27 +02:00
2024-11-03 15:44:35 +11:00
2024-09-25 18:04:27 +02:00
2024-11-03 15:44:35 +11:00
2024-09-25 18:04:27 +02:00
2024-11-03 22:04:44 +11:00
2024-09-25 18:04:27 +02:00
2024-12-13 14:54:19 +01:00
2024-09-25 18:04:33 +02:00