autocxx
autocxx copied to clipboard
Tool for safe ergonomic Rust/C++ interop driven from existing C++ headers
generate_all! for `#include `.
Adds an integration test to address Issue #774
In https://github.com/google/autocxx/issues/1019#issuecomment-1096097723, @testforvln reports that no constructor is generated. The type in question is a `struct` with a bunch of fields but no explicit constructor. Running this with logging reports:...
Fixes # > It's a good idea to open an issue first for discussion. - [ ] Tests pass - [ ] Appropriate changes to README are included in PR
- [x] With rust 1.54 we can use the readme as docs. - [ ] Rust 1.55 pattern match cleanups - [ ] Replace the functions in `unqualify.rs` with a...
Split off from #106. At the moment, a templated C++ type gets made into a completely opaque type called `AutocxxConcrete0`...`n`. These types don't have constructors, accessors, or methods, so are...
As mentioned [in this comment](https://github.com/google/autocxx/issues/349#issuecomment-1089681525), there's currently no way to resolve the problems we get when bindgen can't interpret a type. The reason we've historically failed in these cases is...
After #974, we should be apply to apply a filename filter to the items generated e.g. just generate items in "foo/bar". We should also be able to specify a Rust...
In `fun/mod.rs` we look for an integer suffix to the type name, and if it's there, we assume it's a constructor. We might need more metadata from `autocxx-bindgen` to do...
#969 introduced some support for C++ arrays. So far, we know this works for fields of structs. We should add more tests to find out what happens if we allow...