File tree 1 file changed +0
-8
lines changed
1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -119,11 +119,6 @@ impl Builder {
119
119
self
120
120
}
121
121
122
- pub fn disable_class_constants ( mut self ) -> Builder {
123
- self . options . class_constants = false ;
124
- self
125
- }
126
-
127
122
pub fn generate ( self ) -> Result < Bindings , ( ) > {
128
123
Bindings :: generate ( self . options , None )
129
124
}
@@ -146,8 +141,6 @@ pub struct BindgenOptions {
146
141
pub derive_debug : bool ,
147
142
/// Generate or not only stable rust.
148
143
pub unstable_rust : bool ,
149
- /// Whether to generate C++ class constants.
150
- pub class_constants : bool ,
151
144
/// Wether to generate names that are **directly** under namespaces.
152
145
pub namespaced_constants : bool ,
153
146
/// Whether to use msvc mangling rules
@@ -174,7 +167,6 @@ impl Default for BindgenOptions {
174
167
enable_cxx_namespaces : false ,
175
168
override_enum_ty : "" . to_string ( ) ,
176
169
unstable_rust : true ,
177
- class_constants : true ,
178
170
namespaced_constants : true ,
179
171
msvc_mangling : false ,
180
172
raw_lines : vec ! [ ] ,
You can’t perform that action at this time.
0 commit comments