File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
lightning-c-bindings/src/c_types Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -861,6 +861,7 @@ fn initial_clonable_types() -> HashSet<String> {
861
861
let mut res = HashSet :: new ( ) ;
862
862
res. insert ( "crate::c_types::U5" . to_owned ( ) ) ;
863
863
res. insert ( "crate::c_types::U128" . to_owned ( ) ) ;
864
+ res. insert ( "crate::c_types::ThreeBytes" . to_owned ( ) ) ;
864
865
res. insert ( "crate::c_types::FourBytes" . to_owned ( ) ) ;
865
866
res. insert ( "crate::c_types::TwelveBytes" . to_owned ( ) ) ;
866
867
res. insert ( "crate::c_types::SixteenBytes" . to_owned ( ) ) ;
Original file line number Diff line number Diff line change @@ -774,6 +774,7 @@ pub struct ThirtyTwoBytes {
774
774
pub data : [ u8 ; 32 ] ,
775
775
}
776
776
777
+ #[ derive( Clone ) ]
777
778
#[ repr( C ) ]
778
779
/// A 3-byte byte array.
779
780
pub struct ThreeBytes { /** The three bytes */ pub data : [ u8 ; 3 ] , }
You can’t perform that action at this time.
0 commit comments