@@ -52,7 +52,7 @@ pub type host_flavor_t = integer_t;
52
52
pub type host_info64_t = * mut integer_t ;
53
53
pub type processor_flavor_t = :: c_int ;
54
54
pub type thread_flavor_t = natural_t ;
55
- pub type thread_inspect_t = mach_port_t ;
55
+ pub type thread_inspect_t = :: mach_port_t ;
56
56
pub type policy_t = :: c_int ;
57
57
pub type mach_vm_address_t = u64 ;
58
58
pub type mach_vm_offset_t = u64 ;
@@ -90,7 +90,7 @@ pub type thread_identifier_info_data_t = thread_identifier_info;
90
90
pub type thread_extended_info_t = * mut thread_extended_info ;
91
91
pub type thread_extended_info_data_t = thread_extended_info ;
92
92
93
- pub type thread_t = mach_port_t ;
93
+ pub type thread_t = :: mach_port_t ;
94
94
pub type thread_policy_flavor_t = natural_t ;
95
95
pub type thread_policy_t = * mut integer_t ;
96
96
pub type thread_latency_qos_t = integer_t ;
@@ -120,7 +120,7 @@ pub type vm_statistics_data_t = vm_statistics;
120
120
pub type vm_statistics64_t = * mut vm_statistics64 ;
121
121
pub type vm_statistics64_data_t = vm_statistics64 ;
122
122
123
- pub type task_t = mach_port_t ;
123
+ pub type task_t = :: mach_port_t ;
124
124
125
125
pub type sysdir_search_path_enumeration_state = :: c_uint ;
126
126
@@ -5293,11 +5293,14 @@ extern "C" {
5293
5293
out_processor_infoCnt : * mut mach_msg_type_number_t ,
5294
5294
) -> :: kern_return_t ;
5295
5295
5296
- pub static mut mach_task_self_: mach_port_t ;
5297
- pub fn task_for_pid ( host : mach_port_t , pid : :: pid_t , task : * mut mach_port_t )
5298
- -> :: kern_return_t ;
5296
+ pub static mut mach_task_self_: :: mach_port_t ;
5297
+ pub fn task_for_pid (
5298
+ host : :: mach_port_t ,
5299
+ pid : :: pid_t ,
5300
+ task : * mut :: mach_port_t ,
5301
+ ) -> :: kern_return_t ;
5299
5302
pub fn task_info (
5300
- host : mach_port_t ,
5303
+ host : :: mach_port_t ,
5301
5304
flavor : task_flavor_t ,
5302
5305
task_info_out : task_info_t ,
5303
5306
task_info_count : * mut mach_msg_type_number_t ,
@@ -5322,7 +5325,7 @@ extern "C" {
5322
5325
pub static vm_page_size: vm_size_t ;
5323
5326
}
5324
5327
5325
- pub unsafe fn mach_task_self ( ) -> mach_port_t {
5328
+ pub unsafe fn mach_task_self ( ) -> :: mach_port_t {
5326
5329
mach_task_self_
5327
5330
}
5328
5331
0 commit comments