We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4887fe commit 5855f98Copy full SHA for 5855f98
src/bindgen/bindings.rs
@@ -112,7 +112,6 @@ impl Bindings {
112
out.write("#include <cstdlib>");
113
out.new_line();
114
}
115
-
116
117
118
for include in &self.config.sys_includes {
@@ -129,7 +128,10 @@ impl Bindings {
129
128
pub fn write<F: Write>(&self, file: F) {
130
let mut out = SourceWriter::new(file, &self.config);
131
132
- if !self.config.no_includes || !self.config.includes.is_empty() || !self.config.sys_includes.is_empty() {
+ if !self.config.no_includes
+ || !self.config.includes.is_empty()
133
+ || !self.config.sys_includes.is_empty()
134
+ {
135
self.write_headers(&mut out);
136
137
0 commit comments