Macro-ize OfferBuilder
authorJeffrey Czyz <jkczyz@gmail.com>
Tue, 20 Feb 2024 00:43:59 +0000 (18:43 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 23 Feb 2024 22:37:03 +0000 (16:37 -0600)
commita517925f6c4bda897d226a31be1a45bef173def9
tree4adabbbcd734c4ed55cb6b89234e193789d4ef36
parent51d9ee35e53534bb2d907fc105699114134736a5
Macro-ize OfferBuilder

OfferBuilder 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/offer.rs