X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning-c-bindings%2Fsrc%2Flightning%2Futil%2Findexed_map.rs;fp=lightning-c-bindings%2Fsrc%2Flightning%2Futil%2Findexed_map.rs;h=06fc03ab63ce355620cf95fddfb6fa5cdaac4485;hb=11b997c3a0452ea1da5b7b352e7887798105db29;hp=0000000000000000000000000000000000000000;hpb=383bd4789b261db58586151e6cf566e56a2dcdb0;p=ldk-c-bindings diff --git a/lightning-c-bindings/src/lightning/util/indexed_map.rs b/lightning-c-bindings/src/lightning/util/indexed_map.rs new file mode 100644 index 0000000..06fc03a --- /dev/null +++ b/lightning-c-bindings/src/lightning/util/indexed_map.rs @@ -0,0 +1,18 @@ +// This file is Copyright its original authors, visible in version control +// history and in the source files from which this was generated. +// +// This file is licensed under the license available in the LICENSE or LICENSE.md +// file in the root of this repository or, if no such file exists, the same +// license as that which applies to the original source files from which this +// source was automatically generated. + +//! This module has a map which can be iterated in a deterministic order. See the [`IndexedMap`]. + +use alloc::str::FromStr; +use core::ffi::c_void; +use core::convert::Infallible; +use bitcoin::hashes::Hash; +use crate::c_types::*; +#[cfg(feature="no-std")] +use alloc::{vec::Vec, boxed::Box}; +