From: Matt Corallo Date: Mon, 8 Mar 2021 19:30:59 +0000 (-0500) Subject: Update auto-generated bindings X-Git-Tag: v0.0.98~25^2~2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=09eb596c8fc031597eda096cbf4e9602a6c411c0;p=ldk-c-bindings Update auto-generated bindings --- diff --git a/lightning-c-bindings/include/lightning.h b/lightning-c-bindings/include/lightning.h index eb6f45b..94ccb26 100644 --- a/lightning-c-bindings/include/lightning.h +++ b/lightning-c-bindings/include/lightning.h @@ -8112,7 +8112,7 @@ void PeerManager_disconnect_by_node_id(const struct LDKPeerManager *NONNULL_PTR * It will send pings to each peer and disconnect those which did not respond to the last round of pings. * Will most likely call send_data on all of the registered descriptors, thus, be very careful with reentrancy issues! */ -void PeerManager_timer_tick_occured(const struct LDKPeerManager *NONNULL_PTR this_arg); +void PeerManager_timer_tick_occurred(const struct LDKPeerManager *NONNULL_PTR this_arg); /** * Build the commitment secret from the seed and the commitment number diff --git a/lightning-c-bindings/src/ln/peer_handler.rs b/lightning-c-bindings/src/ln/peer_handler.rs index 96966a8..9e7422a 100644 --- a/lightning-c-bindings/src/ln/peer_handler.rs +++ b/lightning-c-bindings/src/ln/peer_handler.rs @@ -784,7 +784,7 @@ pub extern "C" fn PeerManager_disconnect_by_node_id(this_arg: &PeerManager, mut /// It will send pings to each peer and disconnect those which did not respond to the last round of pings. /// Will most likely call send_data on all of the registered descriptors, thus, be very careful with reentrancy issues! #[no_mangle] -pub extern "C" fn PeerManager_timer_tick_occured(this_arg: &PeerManager) { - unsafe { &*this_arg.inner }.timer_tick_occured() +pub extern "C" fn PeerManager_timer_tick_occurred(this_arg: &PeerManager) { + unsafe { &*this_arg.inner }.timer_tick_occurred() }