diff options
Diffstat (limited to 'third_party/rust/mach2/src/memory_object_types.rs')
-rw-r--r-- | third_party/rust/mach2/src/memory_object_types.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/rust/mach2/src/memory_object_types.rs b/third_party/rust/mach2/src/memory_object_types.rs new file mode 100644 index 0000000000..8399e71676 --- /dev/null +++ b/third_party/rust/mach2/src/memory_object_types.rs @@ -0,0 +1,9 @@ +//! This module roughly corresponds to `mach/memory_object_types.h`. + +use vm_types::natural_t; + +pub type memory_object_offset_t = ::libc::c_ulonglong; +pub type memory_object_size_t = ::libc::c_ulonglong; +pub type memory_object_cluster_size_t = natural_t; +pub type memory_object_fault_info_t = *mut natural_t; +pub type vm_object_id_t = ::libc::c_ulonglong; |