TotallyGamerJet
TotallyGamerJet
Yes. That is the inspiration behind [purego](https://github.com/ebitengine/purego)
I had not heard of `IMAGE:` so I looked it up. Very cool! However, I'm not sure purego or some other mechanism would make this possible. Since Ebitengine uses X11/Wayland...
But the good news is that if we have a general method for calling into C without Cgo then we can just modify or directly use a C software implementation
@hajimehoshi please take a look
Yep! I actually started a proof of concept using glfwwin as a basis. It's gonna take quite a while tho since there is a lot of code to port.
It is a blocker for completion since there are a few C functions in glfw that return or take structs. The majority of it can be completed. Plus, struct Args...
Why not just implement a wrapped error type specifically for mage? That way version compatibility can be maintained
Do we want to actually export the `WrapError` function for anyone to use? If not, I'd move it into the `internal/` package. Also, why not make the function signature like...
> Thanks for the nudge toward a better solution. Ofc glad I could help!
Oh wow it definitely has. I totally forgot about this. I could take a look today and if it's not too difficult to port to main I can do that.