Emilio Cobos Álvarez

Results 777 comments of Emilio Cobos Álvarez

This is basically a matter of implementing this: https://github.com/rust-lang/rust-bindgen/blob/91d9600c33260202f3b438f14ad077be3bdc81e7/src/codegen/mod.rs#L997-L1018 Which already has a reference to all methods and base classes. Making this work for simple casses (no base classes, no...

If there's a chance to come up with a standalone test-case that doesn't involve the whole allocator it'd be really appreciated. I think it shouldn't be hard, I can try...

Also clang version involved would be helpful.

A wrapper is not great because it depends on a bunch of other stuff. https://github.com/rust-lang/rust-bindgen/blob/master/CONTRIBUTING.md#using-creduce-to-minimize-test-cases has some instructions to get a more reduced test-case but I can give it a...

@fitzgen nope, for obvious reasons, sorry, forgot to mention it.

The template unions with template parameters thing should be doable once #61 lands.

From IRC: > 23:11 Gankro: given bindgen also auto-converts doc comments, seems like just `/** cbindgen:no-export */` on the declaration of `Glyph` would do? TL;DR: I think you can fix...

Yes, I think it does, and I think I'd take a PR to update this for the arguments that take a path.

Hmm, yeah, that's a good point... So ideally we'd turn the clang arguments into a bunch of `Box` or `Vec` (so we don't need to turn it into a string)...

This sounds good, ideally we could try to never have a null/invalid cursor around, and we'd constrain their existence to the `clang` module. It's not a super-easy task though.