Update autogenerated bindings to latest LDK 0.0.123-bindings
[ldk-c-bindings] / lightning-c-bindings / src / lightning / offers / refund.rs
index 5b6e3367e7d64b72cab27a2bca0dda372856e79b..6d7d3907a91736563ac9e3e430f8d1eab866afcb 100644 (file)
@@ -538,3 +538,8 @@ pub extern "C" fn Refund_from_str(s: crate::c_types::Str) -> crate::c_types::der
                },
        }.into()
 }
+#[no_mangle]
+/// Get the string representation of a Refund object
+pub extern "C" fn Refund_to_str(o: &crate::lightning::offers::refund::Refund) -> Str {
+       alloc::format!("{}", o.get_native_ref()).into()
+}