]> git.bitcoin.ninja Git - rust-lightning/commit
Macro-ize InvoiceBuilder
authorJeffrey Czyz <jkczyz@gmail.com>
Sun, 25 Feb 2024 20:58:07 +0000 (14:58 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 6 Mar 2024 15:25:27 +0000 (09:25 -0600)
commit07d628e0faf1a953a660144e3da77b0542027f84
treecead1b2ff3455ad9d1831798659a27d2cac4aa99
parent3a92c7b08a96167355da85f4daac76cd1251684e
Macro-ize InvoiceBuilder

InvoiceBuilder is not exported to bindings because it has methods that
take `self` by value and are only implemented for certain type
parameterizations. Define these methods using macros such that different
builders and related methods can be defined for c_bindings.
lightning/src/offers/invoice.rs
lightning/src/offers/invoice_request.rs
lightning/src/offers/refund.rs