-
Input C/C++ Header///this is the comment
#define ABC '1' Bindgen Invocationlet bindings = bindgen::Builder::default()
.header(format!("src/test.cpp"))
.layout_tests(false)
.clang_arg("-fparse-all-comments")
.clang_args(&["-E", "-CC"])
.generate_comments(true)
.parse_callbacks(Box::new(bindgen::CargoCallbacks))
.generate()
.expect("Unable to generate bindings"); The comment line is missing. How can I keep it ? |
Beta Was this translation helpful? Give feedback.
Answered by
pvdrz
Apr 3, 2024
Replies: 1 comment
-
Unfortunately there's no solution for this right now. There are some ongoing efforts to improve macro processing but even then it is unclear if those efforts would fix this. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pvdrz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately there's no solution for this right now. There are some ongoing efforts to improve macro processing but even then it is unclear if those efforts would fix this.