diff options
Diffstat (limited to 'libbindgen/src/lib.rs')
-rw-r--r-- | libbindgen/src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libbindgen/src/lib.rs b/libbindgen/src/lib.rs index 29580f36..2ff61f90 100644 --- a/libbindgen/src/lib.rs +++ b/libbindgen/src/lib.rs @@ -108,6 +108,8 @@ pub struct CodegenConfig { pub vars: bool, /// Whether to generate methods. pub methods: bool, + /// Whether to generate constructors. + pub constructors: bool, } impl CodegenConfig { @@ -118,6 +120,7 @@ impl CodegenConfig { types: true, vars: true, methods: true, + constructors: true, } } @@ -128,6 +131,7 @@ impl CodegenConfig { types: false, vars: false, methods: false, + constructors: false, } } } |