]> git.bitcoin.ninja Git - rust-lightning/commit
Macro-ize InvoiceRequestBuilder
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 22 Feb 2024 22:47:38 +0000 (16:47 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 6 Mar 2024 15:25:26 +0000 (09:25 -0600)
commitc7b877efdde29ddfce072dc5ba5eef33f344935c
tree2d4c09bf74ca350eb07581b1815a9a2767fbcf26
parent702a003270a452ee65daf28869b77f1f63c24caa
Macro-ize InvoiceRequestBuilder

InvoiceRequestBuilder 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_request.rs
lightning/src/offers/offer.rs