mirror of
https://github.com/raylib-zig/raylib-zig.git
synced 2025-12-06 06:13:08 +00:00
raylib-zig
Manually tweaked, auto generated raylib bindings for zig.
Bindings tested on raylib version 3.0
Workaround
On this branch I will try to wokraround the technical restrictions the normal binding has. May cause severe bugs, terms of the license apply.
Scope
What is possible at the moment is passing arguments despite zigs C ABI issues. We do that by passing a pointer to a wrapper function which is implemented in C and then calls the original function. Back in zig we wrap the pointer function so they can be used without addresses. Wrapping return values is not possible at the moment as far as I'm concerned. If you do come up with a solution, feel free to submit a pull request.
Description
Manually tweaked, auto-generated raylib bindings for zig. https://github.com/raysan5/raylib
Readme
MIT
14 MiB
Languages
Zig
85.6%
GLSL
5.5%
Logos
4.9%
Python
2.9%
PowerShell
0.6%
Other
0.5%