@@ -52,7 +52,7 @@ pub type host_flavor_t = integer_t;
5252pub type host_info64_t = * mut integer_t ;
5353pub type processor_flavor_t = :: c_int ;
5454pub type thread_flavor_t = natural_t ;
55- pub type thread_inspect_t = mach_port_t ;
55+ pub type thread_inspect_t = :: mach_port_t ;
5656pub type policy_t = :: c_int ;
5757pub type mach_vm_address_t = u64 ;
5858pub type mach_vm_offset_t = u64 ;
@@ -90,7 +90,7 @@ pub type thread_identifier_info_data_t = thread_identifier_info;
9090pub type thread_extended_info_t = * mut thread_extended_info ;
9191pub type thread_extended_info_data_t = thread_extended_info ;
9292
93- pub type thread_t = mach_port_t ;
93+ pub type thread_t = :: mach_port_t ;
9494pub type thread_policy_flavor_t = natural_t ;
9595pub type thread_policy_t = * mut integer_t ;
9696pub type thread_latency_qos_t = integer_t ;
@@ -120,7 +120,7 @@ pub type vm_statistics_data_t = vm_statistics;
120120pub type vm_statistics64_t = * mut vm_statistics64 ;
121121pub type vm_statistics64_data_t = vm_statistics64 ;
122122
123- pub type task_t = mach_port_t ;
123+ pub type task_t = :: mach_port_t ;
124124
125125pub type sysdir_search_path_enumeration_state = :: c_uint ;
126126
@@ -5293,11 +5293,14 @@ extern "C" {
52935293 out_processor_infoCnt : * mut mach_msg_type_number_t ,
52945294 ) -> :: kern_return_t ;
52955295
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 ;
52995302 pub fn task_info (
5300- host : mach_port_t ,
5303+ host : :: mach_port_t ,
53015304 flavor : task_flavor_t ,
53025305 task_info_out : task_info_t ,
53035306 task_info_count : * mut mach_msg_type_number_t ,
@@ -5322,7 +5325,7 @@ extern "C" {
53225325 pub static vm_page_size: vm_size_t ;
53235326}
53245327
5325- pub unsafe fn mach_task_self ( ) -> mach_port_t {
5328+ pub unsafe fn mach_task_self ( ) -> :: mach_port_t {
53265329 mach_task_self_
53275330}
53285331
0 commit comments