mirror of
https://github.com/raylib-zig/raylib-zig.git
synced 2025-12-06 06:13:08 +00:00
Add scope section in readme
This commit is contained in:
parent
f545110e62
commit
4bba1b08d3
@ -4,3 +4,7 @@ Bindings tested on raylib version 3.0
|
||||
|
||||
## Workaround
|
||||
On this branch I will try to wokraround the [technical restrictions](https://github.com/Not-Nik/raylib-zig#technical-restrictions) the normal binding has. May cause severe bugs, terms of the [license](https://github.com/Not-Nik/raylib-zig/blob/master/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.
|
||||
Loading…
x
Reference in New Issue
Block a user