From 0d89fe28f86fe46aad8d7ff4d642515fd9d3a17d Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 29 Mar 2021 21:52:05 +0200 Subject: [PATCH] Add the following types: * processor_flavor_t * processor_info_t * processor_info_array_t --- src/unix/bsd/apple/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/unix/bsd/apple/mod.rs b/src/unix/bsd/apple/mod.rs index a099a0a1..73933d8c 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;