]>
git.proxmox.com Git - rustc.git/blob - vendor/sysinfo/src/apple/ffi.rs
1 // Take a look at the license at the top of the repository in the LICENSE file.
5 // Reexport items defined in either macos or ios ffi module.
6 pub use crate::sys
::inner
::ffi
::*;
9 pub struct __DADisk(c_void
);
11 pub struct __DASession(c_void
);
13 // #[allow(non_camel_case_types)]
14 // pub type io_name_t = [u8; 128];
15 // #[allow(non_camel_case_types)]
16 // pub type io_registry_entry_t = io_object_t;
18 // pub type IOOptionBits = u32;
20 #[cfg_attr(feature = "debug", derive(Eq, Hash, PartialEq))]
26 pub data_type
: [i8; 5], // UInt32Char_t
27 pub bytes
: [i8; 32], // SMCBytes_t