@@ -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 ;
@@ -117,7 +117,7 @@ pub type vm_statistics_data_t = vm_statistics;
117
117
pub type vm_statistics64_t = * mut vm_statistics64 ;
118
118
pub type vm_statistics64_data_t = vm_statistics64 ;
119
119
120
- pub type task_t = mach_port_t ;
120
+ pub type task_t = :: mach_port_t ;
121
121
122
122
pub type sysdir_search_path_enumeration_state = :: c_uint ;
123
123
@@ -5270,11 +5270,14 @@ extern "C" {
5270
5270
out_processor_infoCnt : * mut mach_msg_type_number_t ,
5271
5271
) -> :: kern_return_t ;
5272
5272
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 ;
5276
5279
pub fn task_info (
5277
- host : mach_port_t ,
5280
+ host : :: mach_port_t ,
5278
5281
flavor : task_flavor_t ,
5279
5282
task_info_out : task_info_t ,
5280
5283
task_info_count : * mut mach_msg_type_number_t ,
@@ -5299,7 +5302,7 @@ extern "C" {
5299
5302
pub static vm_page_size: vm_size_t ;
5300
5303
}
5301
5304
5302
- pub unsafe fn mach_task_self ( ) -> mach_port_t {
5305
+ pub unsafe fn mach_task_self ( ) -> :: mach_port_t {
5303
5306
mach_task_self_
5304
5307
}
5305
5308
0 commit comments