+/// 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]
+pub extern "C" fn InvoiceError_from_string(mut s: crate::c_types::Str) -> crate::lightning::offers::invoice_error::InvoiceError {
+ let mut ret = lightning::offers::invoice_error::InvoiceError::from_string(s.into_string());
+ crate::lightning::offers::invoice_error::InvoiceError { inner: ObjOps::heap_alloc(ret), is_owned: true }
+}
+