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
Yup, that's known. It shouldn't be too hard. We already keep track of the constructors.
I'd rather not implement Drop in bindgen itself, because we can't do it for stuff with, let's say, inlined destructors, so it can be tricky to make it work reliably, and implementing drop you prevent doing other stuff like droping the outer structure via an FFI call or similar.
Anyway, I'm all-in in exposing destructors. Should be easy. I'm happy to do it when I have the time, but if someone wants to jump-in and implement it, I'm happy to mentor it.
This is probably mentioned elsewhere since it is such an obvious thing but I couldn't find a tracking issue for it so I thought I would create one.
Input C/C++ Header
Bindgen Invokation
Actual Results
Expected Results
The text was updated successfully, but these errors were encountered: