]> git.bitcoin.ninja Git - rust-lightning/commit
[bindings] Correctly use access string in to-Rust container conv
authorMatt Corallo <git@bluematt.me>
Fri, 19 Feb 2021 17:51:07 +0000 (12:51 -0500)
committerMatt Corallo <git@bluematt.me>
Fri, 19 Feb 2021 19:02:33 +0000 (14:02 -0500)
commit6c0025439e2d93c186e4859e474ce4f67aaec0d2
tree2fbd5e05846b85f348449a4ee6ef82ed2b519545
parent02c21842fdf0c1918c9589dfc0039aa64f7dd249
[bindings] Correctly use access string in to-Rust container conv

`from_c_conversion_container_new_var` should use var_access when
it wishes to access the variable being converted, not `var_name`,
but in a few cases it did not. Note that this has no impact on the
generated bindings as of this commit.
c-bindings-gen/src/types.rs