pretty auto generated sdl3 bindings for zig
Go to file
Peterino2 fa4d485d29 Add bindings for SDL 3.4.2 through 3.4.20
castholm: v0.4.1+3.4.2, v0.4.2+3.4.4, v0.5.0+3.4.8, v0.5.1+3.4.10,
v0.5.2+3.4.12, v0.5.3+3.4.14, v0.5.4+3.4.16, v0.6.0+3.4.18,
v0.6.1+3.4.20

official: release-3.4.2, 3.4.4, 3.4.6, 3.4.8, 3.4.10, 3.4.12, 3.4.14,
3.4.16, 3.4.18, 3.4.20
2026-11-13 02:56:42 +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