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 |
||
|---|---|---|
| castholm | ||
| official | ||
| .gitignore | ||
| README.md | ||
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