From: Matt Corallo Date: Fri, 23 Sep 2022 16:12:46 +0000 (+0000) Subject: Prefer `Option_` mappings for more types over transparent mappings X-Git-Tag: v0.0.111.0~1^2~8 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=c9189547e9e06bec4303a5d23de8bf3387a8e9a0;hp=c9189547e9e06bec4303a5d23de8bf3387a8e9a0;p=ldk-c-bindings Prefer `Option_` mappings for more types over transparent mappings In general, the explicit `Option_` mappings are easier for downstream bindings to match against, and clearer for users anyway. Sadly, originally we were trying to avoid them where possible, so some types default to transparent mappings. Here we swap the default, at least for manually-mapped types, with a few explicit exceptions (that probably should be changed as well). ---