Update auto-generated bindings
[ldk-c-bindings] / lightning-c-bindings / src / lightning / util / ser_macros.rs
1 // This file is Copyright its original authors, visible in version control
2 // history and in the source files from which this was generated.
3 //
4 // This file is licensed under the license available in the LICENSE or LICENSE.md
5 // file in the root of this repository or, if no such file exists, the same
6 // license as that which applies to the original source files from which this
7 // source was automatically generated.
8
9 //! Some macros that implement [`Readable`]/[`Writeable`] traits for lightning messages.
10 //! They also handle serialization and deserialization of TLVs.
11 //!
12 //! [`Readable`]: crate::util::ser::Readable
13 //! [`Writeable`]: crate::util::ser::Writeable
14
15 use alloc::str::FromStr;
16 use core::ffi::c_void;
17 use core::convert::Infallible;
18 use bitcoin::hashes::Hash;
19 use crate::c_types::*;
20 #[cfg(feature="no-std")]
21 use alloc::{vec::Vec, boxed::Box};
22