@@ -435,18 +435,19 @@ impl Builder {
435435
436436impl BindgenOptions {
437437 fn build ( & mut self ) {
438- const REGEX_SETS_LEN : usize = 27 ;
438+ const REGEX_SETS_LEN : usize = 28 ;
439439
440440 let regex_sets: [ _ ; REGEX_SETS_LEN ] = [
441- & mut self . allowlisted_vars ,
442- & mut self . allowlisted_types ,
443- & mut self . allowlisted_functions ,
444- & mut self . allowlisted_files ,
445441 & mut self . blocklisted_types ,
446442 & mut self . blocklisted_functions ,
447443 & mut self . blocklisted_items ,
448444 & mut self . blocklisted_files ,
449445 & mut self . opaque_types ,
446+ & mut self . allowlisted_vars ,
447+ & mut self . allowlisted_types ,
448+ & mut self . allowlisted_functions ,
449+ & mut self . allowlisted_files ,
450+ & mut self . allowlisted_items ,
450451 & mut self . bitfield_enums ,
451452 & mut self . constified_enums ,
452453 & mut self . constified_enum_modules ,
@@ -482,6 +483,7 @@ impl BindgenOptions {
482483 "--allowlist-function" ,
483484 "--allowlist-var" ,
484485 "--allowlist-file" ,
486+ "--allowlist-item" ,
485487 "--bitfield-enum" ,
486488 "--newtype-enum" ,
487489 "--newtype-global-enum" ,
0 commit comments