Debian Codegraph @

libgrust/libformat_parser/vendor/libc/src/unix/newlib/no_align.rs

raw
1 macro_rules! expand_align {
2 () => {
3 s! {
4 pub struct pthread_mutex_t { // Unverified
5 #[cfg(any(target_arch = "mips",
6 target_arch = "arm",
7 target_arch = "powerpc"))]
8 __align: [::c_long; 0],
9 #[cfg(not(any(target_arch = "mips",
10 target_arch = "arm",
11 target_arch = "powerpc")))]
12 __align: [::c_longlong; 0],
13 size: [u8; ::__SIZEOF_PTHREAD_MUTEX_T],
14 }
15
16 pub struct pthread_rwlock_t { // Unverified
17 #[cfg(any(target_arch = "mips",
18 target_arch = "arm",
19 target_arch = "powerpc"))]
20 __align: [::c_long; 0],
21 #[cfg(not(any(target_arch = "mips",
22 target_arch = "arm",
23 target_arch = "powerpc")))]
24 __align: [::c_longlong; 0],
25 size: [u8; ::__SIZEOF_PTHREAD_RWLOCK_T],
26 }
27
28 pub struct pthread_mutexattr_t { // Unverified
29 #[cfg(any(target_arch = "x86_64", target_arch = "powerpc64",
30 target_arch = "mips64", target_arch = "s390x",
31 target_arch = "sparc64"))]
32 __align: [::c_int; 0],
33 #[cfg(not(any(target_arch = "x86_64", target_arch = "powerpc64",
34 target_arch = "mips64", target_arch = "s390x",
35 target_arch = "sparc64")))]
36 __align: [::c_long; 0],
37 size: [u8; ::__SIZEOF_PTHREAD_MUTEXATTR_T],
38 }
39
40 pub struct pthread_cond_t { // Unverified
41 __align: [::c_longlong; 0],
42 size: [u8; ::__SIZEOF_PTHREAD_COND_T],
43 }
44
45 pub struct pthread_condattr_t { // Unverified
46 __align: [::c_int; 0],
47 size: [u8; ::__SIZEOF_PTHREAD_CONDATTR_T],
48 }
49 }
50 };
51 }