Update auto-generated bindings to LDK 0.0.121
[ldk-c-bindings] / lightning-c-bindings / src / lightning / offers / invoice_error.rs
index acf381e192adbda1fc432da668d48129a6e2dd62..68a64cba8f23bf64873b1ab8b88844f4f584030e 100644 (file)
@@ -136,6 +136,9 @@ pub(crate) extern "C" fn InvoiceError_clone_void(this_ptr: *const c_void) -> *mu
 pub extern "C" fn InvoiceError_clone(orig: &InvoiceError) -> InvoiceError {
        orig.clone()
 }
+/// Get a string which allows debug introspection of a InvoiceError object
+pub extern "C" fn InvoiceError_debug_str_void(o: *const c_void) -> Str {
+       alloc::format!("{:?}", unsafe { o as *const crate::lightning::offers::invoice_error::InvoiceError }).into()}
 
 use lightning::offers::invoice_error::ErroneousField as nativeErroneousFieldImport;
 pub(crate) type nativeErroneousField = nativeErroneousFieldImport;
@@ -245,6 +248,9 @@ pub(crate) extern "C" fn ErroneousField_clone_void(this_ptr: *const c_void) -> *
 pub extern "C" fn ErroneousField_clone(orig: &ErroneousField) -> ErroneousField {
        orig.clone()
 }
+/// Get a string which allows debug introspection of a ErroneousField object
+pub extern "C" fn ErroneousField_debug_str_void(o: *const c_void) -> Str {
+       alloc::format!("{:?}", unsafe { o as *const crate::lightning::offers::invoice_error::ErroneousField }).into()}
 /// Creates an [`InvoiceError`] with the given message.
 #[must_use]
 #[no_mangle]