diff options
author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-03-29 21:52:05 +0200 |
---|---|---|
committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-03-29 21:52:05 +0200 |
commit | 0d89fe28f86fe46aad8d7ff4d642515fd9d3a17d (patch) | |
tree | df4ff949cdcb2b1081dc408748c289c8b5bece33 | |
parent | 86236a83f757cfb5227ec7f02d71429c18d22dce (diff) | |
download | rust-libc-0d89fe28f86fe46aad8d7ff4d642515fd9d3a17d.tar.gz |
Add the following types:
* processor_flavor_t
* processor_info_t
* processor_info_array_t
-rw-r--r-- | src/unix/bsd/apple/mod.rs | 3 |
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; |