@@ -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 ;
@@ -117,7 +117,7 @@ pub type vm_statistics_data_t = vm_statistics;
117117pub type vm_statistics64_t = * mut vm_statistics64 ;
118118pub type vm_statistics64_data_t = vm_statistics64 ;
119119
120- pub type task_t = mach_port_t ;
120+ pub type task_t = :: mach_port_t ;
121121
122122pub type sysdir_search_path_enumeration_state = :: c_uint ;
123123
@@ -5270,11 +5270,14 @@ extern "C" {
52705270 out_processor_infoCnt : * mut mach_msg_type_number_t ,
52715271 ) -> :: kern_return_t ;
52725272
5273- pub static mut mach_task_self_: mach_port_t ;
5274- pub fn task_for_pid ( host : mach_port_t , pid : :: pid_t , task : * mut mach_port_t )
5275- -> :: kern_return_t ;
5273+ pub static mut mach_task_self_: :: mach_port_t ;
5274+ pub fn task_for_pid (
5275+ host : :: mach_port_t ,
5276+ pid : :: pid_t ,
5277+ task : * mut :: mach_port_t ,
5278+ ) -> :: kern_return_t ;
52765279 pub fn task_info (
5277- host : mach_port_t ,
5280+ host : :: mach_port_t ,
52785281 flavor : task_flavor_t ,
52795282 task_info_out : task_info_t ,
52805283 task_info_count : * mut mach_msg_type_number_t ,
@@ -5299,7 +5302,7 @@ extern "C" {
52995302 pub static vm_page_size: vm_size_t ;
53005303}
53015304
5302- pub unsafe fn mach_task_self ( ) -> mach_port_t {
5305+ pub unsafe fn mach_task_self ( ) -> :: mach_port_t {
53035306 mach_task_self_
53045307}
53055308
0 commit comments