10 Commits

Author SHA1 Message Date
Qwerasd
2384bd69cc style: use decl literals
This commit changes a LOT of areas of the code to use decl literals
instead of redundantly referring to the type.

These changes were mostly driven by some regex searches and then manual
adjustment on a case-by-case basis.

I almost certainly missed quite a few places where decl literals could
be used, but this is a good first step in converting things, and other
instances can be addressed when they're discovered.

I tested GLFW+Metal and building the framework on macOS and tested a GTK
build on Linux, so I'm 99% sure I didn't introduce any syntax errors or
other problems with this. (fingers crossed)
2025-05-26 21:50:14 -06:00
Mitchell Hashimoto
0f4d2bb237 Lots of 0.14 changes 2025-03-12 09:55:52 -07:00
Mitchell Hashimoto
b48d24a546 update zig 2024-03-13 09:14:12 -07:00
Mitchell Hashimoto
64e3721bb7 config: formatter can output docs 2024-01-20 15:42:43 -08:00
Mitchell Hashimoto
daf297cee2 config: union type formatters 2024-01-20 15:35:16 -08:00
Mitchell Hashimoto
95a67e5f06 config: support only formatting changed fields 2024-01-20 15:24:17 -08:00
Mitchell Hashimoto
dbb808ae93 config: tests for formatEntry 2024-01-20 15:13:43 -08:00
Mitchell Hashimoto
2bf37843f3 config: tests for all custom formatEntry calls 2024-01-20 15:07:32 -08:00
Mitchell Hashimoto
32a1c6ec06 config: ability to format all field types except tagged unions 2024-01-20 14:41:49 -08:00
Mitchell Hashimoto
33c4c328b6 config: file formatter 2024-01-20 12:43:15 -08:00