We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1705e3 commit 9cf552eCopy full SHA for 9cf552e
secp256k1-sys/src/types.rs
@@ -42,6 +42,9 @@ impl AlignedType {
42
}
43
44
45
+/// A static zeroed out AlignedType for use in static assignments of [AlignedType; _]
46
+pub static ZERO_ALIGNED: AlignedType = AlignedType([0u8; 16]);
47
+
48
#[cfg(all(feature = "std", not(rust_secp_no_symbol_renaming)))]
49
pub(crate) const ALIGN_TO: usize = mem::align_of::<AlignedType>();
50
0 commit comments