Regenerates every existing release directory with the Zig 0.17 port of
sdlparser-scrap, including its codegen fixes:
- enums: all enumerators are present and numbered as in C (previously
members written as `NAME = value,` without a comment were dropped,
e.g. most of Scancode and PixelFormat); duplicate values are aliases
- flags: packed struct fields sit on the bit the header assigns (flags
after a gap, such as SDL_WINDOW_VULKAN, were on the wrong bit)
- structs: fields followed by a multi-line comment are no longer dropped
(VirtualJoystickDesc, HapticPeriodic had wrong layouts)
- wrappers: casts follow how each type is declared, so the inline
functions type-check against the translated C API
- uses @backingInt/@fromBackingInt and callconv(.c)
- new modules: guid, pen, iostream, keyboard, scancode, power, process,
opengl, tray plus the c.zig/stdinc.zig bridge files
- castholm v0.1.0 (SDL 3.1.6) now generates; stale debug output removed
Verified per release on Linux against that release's headers: wrapper
bodies compile, struct layouts and field offsets, enum values and flag
bits match C. Only Windows/GDK-only symbols are unavailable there.
2026-11-13 02:56:42 +00:00
Renamed from castholm/v0.4.0-3.4.0/debug/SDL_gpu_h_fmterror.zig (Browse further)