]> git.bitcoin.ninja Git - ldk-c-bindings/commit
Add utility method to construct new complex enums
authorMatt Corallo <git@bluematt.me>
Sat, 7 Aug 2021 19:03:27 +0000 (19:03 +0000)
committerMatt Corallo <git@bluematt.me>
Sat, 7 Aug 2021 21:08:20 +0000 (21:08 +0000)
commit096400b7f9ab1e059273bf554d811d4cccf49d7b
tree4e500839e53daab0011495cc8dedb0262892803f
parent787d5d9810dfc71006f3ed0c8a21290be5ea6c54
Add utility method to construct new complex enums

This is incredibly useful for downstream languages eg Java as it
avoids having to manually implement constructors and can just use
common function-mapping logic.
c-bindings-gen/src/main.rs