summaryrefslogtreecommitdiff
path: root/tests/headers/ctypes-prefix-path.h
blob: 10e06f893eb25990c02b6e44042d160aea4a892c (plain)
1
2
3
4
5
// bindgen-flags: --ctypes-prefix "libc::foo" --use-core --raw-line "#![no_std]" --raw-line "mod libc { pub mod foo { pub type c_int = i32; pub enum c_void {} } }" --rustified-enum ".*"
struct foo {
  int a, b;
  void* bar;
};