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
Unfortunately there is currently no way for me to automatically generate the equivalent C header bindings as no bindings generator can currently handle resolving what ::Output means. Currently I've worked around this by generating type names for each associated type but it feels ugly to do it that way, and my generated C headers get a lot of extra typedefs.
It would be nice if the bindings generator could resolve associated types like it does regular types.
If you have an idea of where to start I don't mind taking a stab at it
The text was updated successfully, but these errors were encountered:
I've written some derive code that generates the equivalent C api structs for me. After running cargo expand the structs look like
Unfortunately there is currently no way for me to automatically generate the equivalent C header bindings as no bindings generator can currently handle resolving what ::Output means. Currently I've worked around this by generating type names for each associated type but it feels ugly to do it that way, and my generated C headers get a lot of extra typedefs.
It would be nice if the bindings generator could resolve associated types like it does regular types.
If you have an idea of where to start I don't mind taking a stab at it
The text was updated successfully, but these errors were encountered: