1pub type RadiumBool = if_atomic! {
10 if atomic(bool) { core::sync::atomic::AtomicBool }
11 else { core::cell::Cell<bool> }
12};
13
14pub type RadiumI8 = if_atomic! {
16 if atomic(8) { core::sync::atomic::AtomicI8 }
17 else { core::cell::Cell<i8> }
18};
19
20pub type RadiumU8 = if_atomic! {
22 if atomic(8) { core::sync::atomic::AtomicU8 }
23 else { core::cell::Cell<u8> }
24};
25
26pub type RadiumI16 = if_atomic! {
28 if atomic(16) { core::sync::atomic::AtomicI16 }
29 else { core::cell::Cell<i16> }
30};
31
32pub type RadiumU16 = if_atomic! {
34 if atomic(16) { core::sync::atomic::AtomicU16 }
35 else { core::cell::Cell<u16> }
36};
37
38pub type RadiumI32 = if_atomic! {
40 if atomic(32) { core::sync::atomic::AtomicI32 }
41 else { core::cell::Cell<i32> }
42};
43
44pub type RadiumU32 = if_atomic! {
46 if atomic(32) { core::sync::atomic::AtomicU32 }
47 else { core::cell::Cell<u32> }
48};
49
50pub type RadiumI64 = if_atomic! {
52 if atomic(64) { core::sync::atomic::AtomicI64 }
53 else { core::cell::Cell<i64> }
54};
55
56pub type RadiumU64 = if_atomic! {
58 if atomic(64) { core::sync::atomic::AtomicU64 }
59 else { core::cell::Cell<u64> }
60};
61
62pub type RadiumIsize = if_atomic! {
64 if atomic(size) { core::sync::atomic::AtomicIsize }
65 else { core::cell::Cell<isize> }
66};
67
68pub type RadiumUsize = if_atomic! {
70 if atomic(size) { core::sync::atomic::AtomicUsize }
71 else { core::cell::Cell<usize> }
72};
73
74pub type RadiumPtr<T> = if_atomic! {
76 if atomic(ptr) { core::sync::atomic::AtomicPtr<T> }
77 else { core::cell::Cell<*mut T> }
78};