1 // bindgen-flags: --blocklist-file ".*/blocklisted/file.*" -- -Itests/headers 2 3 // Forward declaration of struct that's defined in a blocklisted file. 4 struct StructWithBlocklistedDefinition; 5 6 #include "blocklisted/file.hpp" 7 #include "blocklisted/fake-stdint.h" 8 9 struct SizedIntegers { 10 uint8_t x; 11 uint16_t y; 12 uint32_t z; 13 }; 14 15 // Actual definition of struct that has a forward declaration in a blocklisted file. 16 struct StructWithBlocklistedFwdDecl { 17 uint8_t b; 18 }; 19