@@ -86,7 +86,7 @@ ChannelMonitor_get_funding_txo(this_argPointer)
86
86
87
87
return Bindings . LDKCVec_C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZZ_to_array ( nativeType: withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_argPointer: UnsafePointer < LDKChannelMonitor > ) in
88
88
ChannelMonitor_get_outputs_to_watch ( this_argPointer)
89
- } , callerContext: " ChannelMonitor::get_outputs_to_watch " )
89
+ } , callerContext: " ChannelMonitor::get_outputs_to_watch " , deallocate : false )
90
90
91
91
. map { ( cOpaqueStruct) in
92
92
C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ ( pointer: cOpaqueStruct)
@@ -107,7 +107,7 @@ ChannelMonitor_load_outputs_to_watch(this_argPointer, filterPointer)
107
107
108
108
return Bindings . LDKCVec_MonitorEventZ_to_array ( nativeType: withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_argPointer: UnsafePointer < LDKChannelMonitor > ) in
109
109
ChannelMonitor_get_and_clear_pending_monitor_events ( this_argPointer)
110
- } , callerContext: " ChannelMonitor::get_and_clear_pending_monitor_events " )
110
+ } , callerContext: " ChannelMonitor::get_and_clear_pending_monitor_events " , deallocate : false )
111
111
112
112
. map { ( cOpaqueStruct) in
113
113
MonitorEvent ( pointer: cOpaqueStruct)
@@ -119,7 +119,7 @@ ChannelMonitor_get_and_clear_pending_monitor_events(this_argPointer)
119
119
120
120
return Bindings . LDKCVec_EventZ_to_array ( nativeType: withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_argPointer: UnsafePointer < LDKChannelMonitor > ) in
121
121
ChannelMonitor_get_and_clear_pending_events ( this_argPointer)
122
- } , callerContext: " ChannelMonitor::get_and_clear_pending_events " )
122
+ } , callerContext: " ChannelMonitor::get_and_clear_pending_events " , deallocate : false )
123
123
124
124
. map { ( cOpaqueStruct) in
125
125
Event ( pointer: cOpaqueStruct)
@@ -164,7 +164,7 @@ ChannelMonitor_get_latest_holder_commitment_txn(this_argPointer, loggerPointer)
164
164
withUnsafePointer ( to: Bindings . array_to_tuple80 ( array: header) ) { ( headerPointer: UnsafePointer < ( UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 ) > ) in
165
165
ChannelMonitor_block_connected ( this_argPointer, headerPointer, txdataWrapper. dangle ( ) . cOpaqueStruct!, height, broadcaster. activate ( ) . cOpaqueStruct!, fee_estimator. activate ( ) . cOpaqueStruct!, logger. activate ( ) . cOpaqueStruct!)
166
166
}
167
- } , callerContext: " ChannelMonitor::block_connected " )
167
+ } , callerContext: " ChannelMonitor::block_connected " , deallocate : false )
168
168
169
169
. map { ( cOpaqueStruct) in
170
170
TransactionOutputs ( pointer: cOpaqueStruct)
@@ -202,7 +202,7 @@ ChannelMonitor_block_disconnected(this_argPointer, headerPointer, height, broadc
202
202
withUnsafePointer ( to: Bindings . array_to_tuple80 ( array: header) ) { ( headerPointer: UnsafePointer < ( UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 ) > ) in
203
203
ChannelMonitor_transactions_confirmed ( this_argPointer, headerPointer, txdataWrapper. dangle ( ) . cOpaqueStruct!, height, broadcaster. activate ( ) . cOpaqueStruct!, fee_estimator. activate ( ) . cOpaqueStruct!, logger. activate ( ) . cOpaqueStruct!)
204
204
}
205
- } , callerContext: " ChannelMonitor::transactions_confirmed " )
205
+ } , callerContext: " ChannelMonitor::transactions_confirmed " , deallocate : false )
206
206
207
207
. map { ( cOpaqueStruct) in
208
208
TransactionOutputs ( pointer: cOpaqueStruct)
@@ -225,7 +225,7 @@ ChannelMonitor_transaction_unconfirmed(this_argPointer, txidPointer, broadcaster
225
225
withUnsafePointer ( to: Bindings . array_to_tuple80 ( array: header) ) { ( headerPointer: UnsafePointer < ( UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 , UInt8 ) > ) in
226
226
ChannelMonitor_best_block_updated ( this_argPointer, headerPointer, height, broadcaster. activate ( ) . cOpaqueStruct!, fee_estimator. activate ( ) . cOpaqueStruct!, logger. activate ( ) . cOpaqueStruct!)
227
227
}
228
- } , callerContext: " ChannelMonitor::best_block_updated " )
228
+ } , callerContext: " ChannelMonitor::best_block_updated " , deallocate : false )
229
229
230
230
. map { ( cOpaqueStruct) in
231
231
TransactionOutputs ( pointer: cOpaqueStruct)
@@ -251,7 +251,7 @@ ChannelMonitor_current_best_block(this_argPointer)
251
251
252
252
return Bindings . LDKCVec_BalanceZ_to_array ( nativeType: withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_argPointer: UnsafePointer < LDKChannelMonitor > ) in
253
253
ChannelMonitor_get_claimable_balances ( this_argPointer)
254
- } , callerContext: " ChannelMonitor::get_claimable_balances " )
254
+ } , callerContext: " ChannelMonitor::get_claimable_balances " , deallocate : false )
255
255
256
256
. map { ( cOpaqueStruct) in
257
257
Balance ( pointer: cOpaqueStruct)
0 commit comments