1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
// ---------------- [ File: bitcoin-support/src/lib.rs ] #![feature(allocator_api)] #![feature(slice_ptr_get)] #[macro_use] mod imports; use imports::*; x!{allocators_secure} x!{allocators_zeroafterfree} x!{cleanse} x!{events} x!{printchunk} x!{align_up} x!{getuniquepath} pub struct Signal<T> { p: std::marker::PhantomData<T> } pub trait GetName { fn get_name(&self) -> &'static str; }