Operating System
What feature would you like to be added?
Now structs are supported only for amd64 and arm64. I propose to support more architectures.
Basically there are two types of struct usages: passing/receiving structs via Register(Lib)Func, and in callbacks of NewCallback. We don't have to support both at the same time, so let's do it one by one.
Why is this needed?
I found an X API that actually passes a struct value XSyncValue (
https://xorg.freedesktop.org/archive/X11R7.7/doc/libXext/synclib.html#c_functions). This is needed for Ebitengine though this is an optional. Now Ebitengine limits architectures for this API usage, but I'd like to support more platforms if possible.
Operating System
What feature would you like to be added?
Now structs are supported only for
amd64andarm64. I propose to support more architectures.Basically there are two types of struct usages: passing/receiving structs via
Register(Lib)Func, and in callbacks ofNewCallback. We don't have to support both at the same time, so let's do it one by one.Why is this needed?
I found an X API that actually passes a struct value
XSyncValue(https://xorg.freedesktop.org/archive/X11R7.7/doc/libXext/synclib.html#c_functions). This is needed for Ebitengine though this is an optional. Now Ebitengine limits architectures for this API usage, but I'd like to support more platforms if possible.