summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-03-29 20:19:44 +0000
committerbors <bors@rust-lang.org>2021-03-29 20:19:44 +0000
commitf913fc53a682c7b836bdf2ac0da601f2d8334b32 (patch)
treedf4ff949cdcb2b1081dc408748c289c8b5bece33
parent9a62493baf35eedf1cded5a21a4c40559a93d538 (diff)
parent0d89fe28f86fe46aad8d7ff4d642515fd9d3a17d (diff)
downloadrust-libc-f913fc53a682c7b836bdf2ac0da601f2d8334b32.tar.gz
Auto merge of #2129 - GuillaumeGomez:more-missing-types, r=JohnTitor
Add more apple types Forgot a few. If it could be merged before https://github.com/rust-lang/libc/pull/2128, it'd be awesome! Thanks in advance. :)
-rw-r--r--src/unix/bsd/apple/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unix/bsd/apple/mod.rs b/src/unix/bsd/apple/mod.rs
index a099a0a16c..73933d8c5e 100644
--- a/src/unix/bsd/apple/mod.rs
+++ b/src/unix/bsd/apple/mod.rs
@@ -38,6 +38,7 @@ pub type sae_associd_t = u32;
pub type sae_connid_t = u32;
pub type mach_port_t = ::c_uint;
+pub type processor_flavor_t = ::c_int;
pub type iconv_t = *mut ::c_void;
@@ -49,6 +50,8 @@ pub type processor_set_basic_info_data_t = processor_set_basic_info;
pub type processor_set_basic_info_t = *mut processor_set_basic_info;
pub type processor_set_load_info_data_t = processor_set_load_info;
pub type processor_set_load_info_t = *mut processor_set_load_info;
+pub type processor_info_t = *mut integer_t;
+pub type processor_info_array_t = *mut integer_t;
deprecated_mach! {
pub type vm_prot_t = ::c_int;