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
I was hoping to use libbindgen to move away from Tcl without needed to jump to C++, but the above declaration style is used all over the Tcl headers. (It's of course been cleaned up, macros and extra typedefs removed).
The text was updated successfully, but these errors were encountered:
Followed Resolved Type Ref instead of panicking
This could fix#353, but I would really want everyone to review in case I'm missing something important. The compilation continues for the code I'm working with. Also, should I add a regression test for this? I could simply use the code in the referenced issue.
The following code:
Triggers the "How?" panic in
libbindgen/src/codegen/mod.rs:2008
reproduced here:Changing it to:
Outputs:
How? TclNativeDupInternalRep ResolvedTypeRef(ItemId(1))
I was hoping to use libbindgen to move away from Tcl without needed to jump to C++, but the above declaration style is used all over the Tcl headers. (It's of course been cleaned up, macros and extra typedefs removed).
The text was updated successfully, but these errors were encountered: