Nick Fitzgerald
Nick Fitzgerald
This seems like a good feature to have. I'd prefer not using `ParseCallbacks` if possible, because avoiding them allows easier testing, and I believe that custom derives is specific enough...
Good catch. I guess that it does make sense to have an escape hatch for more complicated cases in `ParseCallbacks` -- but I'd still prefer the simple versions to be...
Sorry I totally thought throught that stuff in my head and then failed to leave any comment about it :-p The problem is that we would need to parse arbitrary...
Yeah, I think that works
`-fkeep-inline-functions` should allow the functions to remain inlined at call sites, but still give us something to link to, IIUC. ------------ This feature is something I've wanted for a while,...
Thanks for the bug report @ctaggart !
Another option that we discussed with some of the rust dev tools team folks was to emit C++ `extern "C"` trampoline functions. For users, that would mean an extra non-virtual,...
Even if we get the information from libclang, we don't have a way to convey it to rustc yet. Did I miss that development?
> It's not clear to me how easy would this be, and whether it's acceptable > for every use-case, though it sounds fine to me. It's "just" another pass over...
> bindgen would just explicitly emit this parameter/return value as by-reference in the signature of "C" stub. Ah ok, understood. > One wrinkle in this fine plan is, of course,...