Update auto-generated bindings
[ldk-c-bindings] / lightning-c-bindings / src / lightning / chain / transaction.rs
index 2006596dd5ede442ea152b736b50aac544e541f5..bc59dd0866c54703764161ed0ed39706b362c59d 100644 (file)
 
 use std::str::FromStr;
 use std::ffi::c_void;
+use core::convert::Infallible;
 use bitcoin::hashes::Hash;
 use crate::c_types::*;
 
 
 use lightning::chain::transaction::OutPoint as nativeOutPointImport;
-type nativeOutPoint = nativeOutPointImport;
+pub(crate) type nativeOutPoint = nativeOutPointImport;
 
 /// A reference to a transaction output.
 ///
@@ -48,7 +49,7 @@ impl Drop for OutPoint {
 pub extern "C" fn OutPoint_free(this_obj: OutPoint) { }
 #[allow(unused)]
 /// Used only if an object of this type is returned as a trait impl by a method
-extern "C" fn OutPoint_free_void(this_ptr: *mut c_void) {
+pub(crate) extern "C" fn OutPoint_free_void(this_ptr: *mut c_void) {
        unsafe { let _ = Box::from_raw(this_ptr as *mut nativeOutPoint); }
 }
 #[allow(unused)]