Commit Graph

3 Commits

Author SHA1 Message Date
Peterino2 2339ac2268 parser: fix pointer type conversion for const int * and Uint8 **
- Add handling for 'Uint8 **' -> '[*c][*c]u8'
- Add handling for 'const int *' -> '[*c]const c_int'
- Fixes syntax errors in generated audio.zig and other headers
2026-01-22 19:04:19 -08:00
Peterino2 83aa5fc26c Add mutex to ignore list, keep only core SDL3 APIs 2026-01-22 18:56:56 -08:00
Peterino2 d03338034e Generate all 53 SDL3 public API bindings
- Updated build.zig to include all public SDL3 headers
- Successfully generated 53 Zig binding files in v2/
- 41 APIs generated cleanly without errors
- 12 APIs generated with syntax errors to be fixed

Clean APIs include:
- Core: init, error, log, hints, version
- Platform: clipboard, filesystem, locale, misc, power, storage
- Input: events, keyboard, mouse, gamepad, joystick, pen, sensor, touch
- Media: video, audio, camera
- Graphics: gpu, render, pixels, surface, rect, blendmode
- Utilities: atomic, endian, guid, properties, time, timer
- System: cpuinfo, process, thread, mutex

APIs with errors to fix:
- assert, audio, haptic, hidapi, iostream, joystick
- mutex, render, system, thread, tray, vulkan

Common issues identified:
- Malformed type names in dependency detection
- Missing SDL_FunctionPointer typedef
- Complex function pointer patterns need better parsing
2026-01-22 18:46:27 -08:00