Commit 823485b
authored
[3.0] Apply MaybeBool transformation to fields/properties (#2574)
* Update docs for TransformProperties to prepare for my boolean transformation change
* Adjust doc wording
* Cleanup and add missing file header
* Change TransformFunctions.Configuration.BoolTypes to be non-nullable for simplicity
The performance difference is negligible.
* Add MaybeBool transformation to fields and properties
* Update generator.json to use TransformProperties.BoolTypes
* Add stdbool condition from BoolTransformer
Not actually sure if this is ever going to be used, but I guess it will at least be consistent in behavior with BoolTransformer
* Regenerate OpenAL, OpenGL, SDL, Vulkan using Windows
* Add test: TransformPropertiesTests.Transforms_MaybeBool_FieldsAndProperties
* Add test: TransformPropertiesTests.Transforms_Utf8String_StaticConstProperties
* Add note on the bitfield case
* Remove unused ModUtils.MemberIdentifiers()
This was used by the syntax-based renamer (extremely old at this point)
* Add MaybeBoolUtils.MaybeBoolType() factory method1 parent 0080d4f commit 823485b
412 files changed
Lines changed: 1225 additions & 1051 deletions
File tree
- .silktouch
- sources
- SDL/SDL/SDL3
- SilkTouch/SilkTouch/Mods
- Common
- Transformation
- Vulkan/Vulkan/Vulkan
- tests/SilkTouch/SilkTouch
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
71 | 76 | | |
72 | 77 | | |
73 | 78 | | |
| |||
224 | 229 | | |
225 | 230 | | |
226 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
227 | 237 | | |
228 | 238 | | |
229 | 239 | | |
| |||
361 | 371 | | |
362 | 372 | | |
363 | 373 | | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
364 | 380 | | |
365 | 381 | | |
366 | 382 | | |
| |||
434 | 450 | | |
435 | 451 | | |
436 | 452 | | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
437 | 458 | | |
438 | 459 | | |
439 | 460 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
0 commit comments