Drop `#[no_mangle]` from `*_write_void` to make cbindgen not export
authorMatt Corallo <git@bluematt.me>
Mon, 16 Oct 2023 01:35:28 +0000 (01:35 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 16 Oct 2023 01:35:28 +0000 (01:35 +0000)
commited96ce032ac607694f7716a73c28a75eb056953a
tree8143c299ee6ca01b1ac9abb670cecfcfe1ba8d67
parent78310f95472a93a258117bb9528a6cc69878902d
Drop `#[no_mangle]` from `*_write_void` to make cbindgen not export

cbindgen recently switched to exporting all `#[no_mangle]` and
`extern "C"` functions. Our `*_write_void` methods are
internal-only but we'd marked them `#[no_mangle]`, which resulted
in them spuriously appearing in `lightning.h`.
c-bindings-gen/src/main.rs