1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#[derive(Clone, Debug)]
pub struct Config {
pub directives: bool,
pub imports: bool,
pub ifndef: String,
pub custom_defines: String,
pub function_attribute: String,
pub file_header_comment: String,
pub prefix: String,
}
impl Default for Config {
fn default() -> Self {
Self {
directives: true,
imports: true,
file_header_comment: "// Automatically generated by Interoptopus.".to_string(),
ifndef: "interoptopus_generated".to_string(),
custom_defines: "".to_string(),
function_attribute: "".to_string(),
prefix: "".to_string(),
}
}
}