We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug When a typedef to char is used, autocxx fails with an unsupported type error.
typedef
char
autocxx
To Reproduce
minimal.h
typedef char Standard_Character; typedef Standard_Character * Standard_CString; Standard_CString foo();
main.rs
use autocxx::prelude::*; include_cpp! { #include "minimal.h" safety!(unsafe_ffi) generate!("foo") } fn main() { println!("Hello, world!"); }
Cargo.toml and build.rs as shown in the tutorial example.
Cargo.toml
build.rs
Expected behavior Code is generated as if char was being used.
Additional context
The text was updated successfully, but these errors were encountered:
Thanks, please raise a test PR per these instructions
Sorry, something went wrong.
No branches or pull requests
Describe the bug
When a
typedef
tochar
is used,autocxx
fails with an unsupported type error.To Reproduce
minimal.h
main.rs
Cargo.toml
andbuild.rs
as shown in the tutorial example.Expected behavior
Code is generated as if
char
was being used.Additional context
The text was updated successfully, but these errors were encountered: