pretty auto generated sdl3 bindings for zig
Go to file
peterino 98d543c0ee Merge pull request 'zig-0.17' (#1) from zig-0.17 into integration
Reviewed-on: #1
2026-11-13 04:50:13 +00:00
castholm Add bindings for SDL 3.4.2 through 3.4.20 2026-11-13 02:56:42 +00:00
official Add bindings for SDL 3.4.2 through 3.4.20 2026-11-13 02:56:42 +00:00
.gitignore updated generation with proper enum values 2026-01-26 20:39:04 -08:00
README.md Regenerate bindings for Zig 0.17 with fixed generator 2026-11-13 02:56:42 +00:00

README.md

generated zig bindings for SDl3

Generated by peter's scrap parser.

https://git.peterino.com/searzocom/sdlparser-scrap

These are not tested, use at your own peril

everything under castholm is generated from castholm's SDL repo

git@github.com:castholm/SDL.git

everything under official is generated from the official SDL repo

git@github.com:libsdl-org/SDL.git

usage

generated for zig 0.17.0

each release directory has an api/ folder with one zig file per SDL header and a json/ folder describing the same declarations.

the files in api/ import the translated C API through api/c.zig, which expects a c.zig next to the api/ folder:

// c.zig
pub const c = @import("sdl_c"); // e.g. a translate-c module of SDL3/SDL.h