File tree 1 file changed +24
-0
lines changed 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -222,6 +222,30 @@ impl Builder {
222
222
self
223
223
}
224
224
225
+ /// Emit Clang AST.
226
+ pub fn emit_clang_ast ( mut self ) -> Builder {
227
+ self . options . emit_ast = true ;
228
+ self
229
+ }
230
+
231
+ /// Enable C++ namespaces.
232
+ pub fn enable_cxx_namespaces ( mut self ) -> Builder {
233
+ self . options . enable_cxx_namespaces = true ;
234
+ self
235
+ }
236
+
237
+ /// Ignore functions.
238
+ pub fn ignore_functions ( mut self ) -> Builder {
239
+ self . options . ignore_functions = true ;
240
+ self
241
+ }
242
+
243
+ /// Ignore methods.
244
+ pub fn ignore_methods ( mut self ) -> Builder {
245
+ self . options . ignore_methods = true ;
246
+ self
247
+ }
248
+
225
249
/// Avoid generating any unstable Rust in the generated bindings.
226
250
pub fn no_unstable_rust ( mut self ) -> Builder {
227
251
self . options . unstable_rust = false ;
You can’t perform that action at this time.
0 commit comments