Debian Codegraph @

.cargo/vendor/libc/src/unix/bsd/netbsdlike/netbsd/powerpc.rs

raw
1 use PT_FIRSTMACH;
2
3 pub type c_long = i32;
4 pub type c_ulong = u32;
5 pub type c_char = u8;
6 pub type __cpu_simple_lock_nv_t = ::c_int;
7
8 // should be pub(crate), but that requires Rust 1.18.0
9 cfg_if! {
10 if #[cfg(libc_const_size_of)] {
11 #[doc(hidden)]
12 pub const _ALIGNBYTES: usize = ::mem::size_of::<::c_double>() - 1;
13 } else {
14 #[doc(hidden)]
15 pub const _ALIGNBYTES: usize = 8 - 1;
16 }
17 }
18
19 pub const PT_STEP: ::c_int = PT_FIRSTMACH + 0;
20 pub const PT_GETREGS: ::c_int = PT_FIRSTMACH + 1;
21 pub const PT_SETREGS: ::c_int = PT_FIRSTMACH + 2;