]> git.bitcoin.ninja Git - ldk-c-bindings/commit
Support trait impls on enums
authorMatt Corallo <git@bluematt.me>
Mon, 23 Oct 2023 23:45:03 +0000 (23:45 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 24 Oct 2023 17:23:22 +0000 (17:23 +0000)
commit1ec49fac7433e5b8693c3858a3e25998bc888eeb
treea0700193ee1a824b7a8d77c3cfa11cb791a64199
parentf8cb96c59952c9edc2e0d811166fb91e78f3c0d1
Support trait impls on enums

Previously we'd only generate correct code for trait impls on
structs, but there's no reason for that restriction. Here we also
implement it on enums.
c-bindings-gen/src/main.rs