Update autogenerated bindings to latest LDK 0.0.123-bindings
[ldk-c-bindings] / lightning-c-bindings / src / lightning / offers / offer.rs
index 9ff5def63afea4c1cf9a539774ae0ceca625c2d2..3fd90e29d52888adf5ecb4ef6ae7950499309156 100644 (file)
@@ -1138,3 +1138,8 @@ pub extern "C" fn Offer_from_str(s: crate::c_types::Str) -> crate::c_types::deri
                },
        }.into()
 }
+#[no_mangle]
+/// Get the string representation of a Offer object
+pub extern "C" fn Offer_to_str(o: &crate::lightning::offers::offer::Offer) -> Str {
+       alloc::format!("{}", o.get_native_ref()).into()
+}