autocxx icon indicating copy to clipboard operation
autocxx copied to clipboard

Tool for safe ergonomic Rust/C++ interop driven from existing C++ headers

Results 160 autocxx issues
Sort by recently updated
recently updated
newest added

I'm pretty sure that the current wrapper for `X::is_global` for this type is not callable without undefined behavior: ```c++ class X; X *global_x = nullptr; class X { X() {...

This is for issue 1143. Method returns a reference to an int, and takes a long by value.

I have multiple include_cpp! in different modules which in different .rs files, but autocxx_build::Builder::new() only supports one input .rs file. I have tried to call autocxx_build::Builder::new() for each .rs file,...

## Expected Behavior Function with `wchar_t` as a parameter should generate successfully. ## Actual Behavior Function with `wchar_t` is generated using `std::uint32_t` instead of `wchar_t`, emitting a clang error. ###...

bug

c++ header ``` namespace mapnik { class Map { public: int &a(long); }; } // namespace mapnik ``` ``` thread 'main' panicked at 'Expected a pinned reference: WasNotPin', /home/boydjohnson/.cargo/registry/src/github.com-1ecc6299db9ec823/autocxx-engine-0.22.3/src/conversion/codegen_rs/lifetime.rs:103:33 ```...

Adds test (currently failing) for #1141

Tests fail for me like this on current main (cdebaee6434b90d9711278ca1493519274f232be), despite passing in CI: ``` thread 'integration_test::test_issue_1089' panicked at '"a__(anonymous_namespace)__ac__bj" is not a valid Ident', /home/brian/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.37/src/fallback.rs:701:9 stack backtrace: 0: rust_begin_unwind...

Hi, this is some work on implementing field access for non-POD types. The approach is based on the ideas from #53 (roughly, it seems a lot has changed since that...

Would it make sense for types from `generate_pod` to implement `Copy` and `Clone`?

WIP PR to simplify `TypeConversionPolicy`.