[bindings] Allow control of the attributes placed on exported fns
authorMatt Corallo <git@bluematt.me>
Tue, 5 Jan 2021 18:31:09 +0000 (13:31 -0500)
committerMatt Corallo <git@bluematt.me>
Tue, 5 Jan 2021 18:31:09 +0000 (13:31 -0500)
commit975e5844f2f46b05bda3cc1e4802d20c99291649
tree6c6575c839f911abf1edda90f7695b016c6e1ecf
parent4bb5067b66937eb21966057c5a7b91ce070a8f2f
[bindings] Allow control of the attributes placed on exported fns

We also take this opportunity to remove `#[no_mangle]` on non-pub
functions, instead adding `#[allow(unused)]` where appropriate.
c-bindings-gen/src/main.rs
c-bindings-gen/src/types.rs
genbindings.sh