]> git.bitcoin.ninja Git - ldk-c-bindings/commit
Ensure array lengthgs are Int literals 2021-04-upstream-confirm
authorMatt Corallo <git@bluematt.me>
Mon, 26 Apr 2021 16:59:43 +0000 (16:59 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 26 Apr 2021 16:59:43 +0000 (16:59 +0000)
commit6bdfcac02eb9cc3b2e511e4dc27a2690b897b58a
tree78b32e15ec5d6324b28c475e23689d67f7465f57
parent6a43322d9c6f969a2ce41775cbea9babb14ef726
Ensure array lengthgs are Int literals

This fixes a bug where an array will be converted to
[u8; StringLiteral] which results in us deciding we don't know how
to map it.

Fixes: dec732cefbdd97585b7de7fd4a9521f44f1580dd
c-bindings-gen/src/types.rs