You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These methods should somehow be directly converted to rust because they are not exported.
Note that GX_End() doesn't actually do anything at all. And the other methods are very simple.
Interesting, will have to go through and see if any other functions were affected by this issue.
Implementing the mentioned functions in libogc/include/ogc/gx.h seems simple enough. Those functions should probably be made unsafe or have safety documentation instructing the user of what happens.
In the process of trying to convert the triangle example from https://github.com/devkitPro/wii-examples/blob/master/graphics/gx/triangle/source/triangle.c to rust I noticed that multiple methods including
GX_End()
where missing from ogc-sys.All these methods are
static inline
methods inlibogc/include/ogc/gx.h
These methods should somehow be directly converted to rust because they are not exported.
Note that
GX_End()
doesn't actually do anything at all. And the other methods are very simple.A relevant issue in rust-bindgen is rust-lang/rust-bindgen#1090
All inline methods in gx.h
The text was updated successfully, but these errors were encountered: