This library generates and provides bindings for SDL3 in mojo.
You can take a look at the test file, or check out the sdl3 documentation.
note: sdl-mojo is not on the Modular community channel yet.
If you havent already, Install pixi with:
curl -fsSL https://pixi.sh/install.sh | sh
Then, run pixi run build to generate and build the bindings.
Once it's finished, run pixi run test to test the bindings.
The generator attempts to turn cases of error on null, and error on false, into raising functions. It also turns char pointers into strings, in some cases.
Needs more testing and on different hardware. If anything breaks, please open an issue.