@@ -826,7 +826,7 @@ public class Bindings {
826
826
for index in 0 ..< Int ( nativeType. datalen) {
827
827
let currentEntry = nativeType. data [ index]
828
828
/* CONVERSION_PREP */
829
- array. append ( currentEntry)
829
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in APIError_clone ( origPointer ) } )
830
830
}
831
831
832
832
if deallocate {
@@ -929,7 +929,7 @@ public class Bindings {
929
929
for index in 0 ..< Int ( nativeType. datalen) {
930
930
let currentEntry = nativeType. data [ index]
931
931
/* CONVERSION_PREP */
932
- array. append ( currentEntry)
932
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in Balance_clone ( origPointer ) } )
933
933
}
934
934
935
935
if deallocate {
@@ -1032,7 +1032,7 @@ public class Bindings {
1032
1032
for index in 0 ..< Int ( nativeType. datalen) {
1033
1033
let currentEntry = nativeType. data [ index]
1034
1034
/* CONVERSION_PREP */
1035
- array. append ( currentEntry)
1035
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in C2Tuple_BlockHashChannelMonitorZ_clone ( origPointer ) } )
1036
1036
}
1037
1037
1038
1038
if deallocate {
@@ -1135,7 +1135,7 @@ public class Bindings {
1135
1135
for index in 0 ..< Int ( nativeType. datalen) {
1136
1136
let currentEntry = nativeType. data [ index]
1137
1137
/* CONVERSION_PREP */
1138
- array. append ( currentEntry)
1138
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in C2Tuple_PublicKeyTypeZ_clone ( origPointer ) } )
1139
1139
}
1140
1140
1141
1141
if deallocate {
@@ -1238,7 +1238,7 @@ public class Bindings {
1238
1238
for index in 0 ..< Int ( nativeType. datalen) {
1239
1239
let currentEntry = nativeType. data [ index]
1240
1240
/* CONVERSION_PREP */
1241
- array. append ( currentEntry)
1241
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in C2Tuple_TxidCVec_C2Tuple_u32ScriptZZZ_clone ( origPointer ) } )
1242
1242
}
1243
1243
1244
1244
if deallocate {
@@ -1341,7 +1341,7 @@ public class Bindings {
1341
1341
for index in 0 ..< Int ( nativeType. datalen) {
1342
1342
let currentEntry = nativeType. data [ index]
1343
1343
/* CONVERSION_PREP */
1344
- array. append ( currentEntry)
1344
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in C2Tuple_u32ScriptZ_clone ( origPointer ) } )
1345
1345
}
1346
1346
1347
1347
if deallocate {
@@ -1444,7 +1444,7 @@ public class Bindings {
1444
1444
for index in 0 ..< Int ( nativeType. datalen) {
1445
1445
let currentEntry = nativeType. data [ index]
1446
1446
/* CONVERSION_PREP */
1447
- array. append ( currentEntry)
1447
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in C2Tuple_u32TxOutZ_clone ( origPointer ) } )
1448
1448
}
1449
1449
1450
1450
if deallocate {
@@ -1547,7 +1547,7 @@ public class Bindings {
1547
1547
for index in 0 ..< Int ( nativeType. datalen) {
1548
1548
let currentEntry = nativeType. data [ index]
1549
1549
/* CONVERSION_PREP */
1550
- array. append ( currentEntry)
1550
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in C2Tuple_usizeTransactionZ_clone ( origPointer ) } )
1551
1551
}
1552
1552
1553
1553
if deallocate {
@@ -1650,7 +1650,7 @@ public class Bindings {
1650
1650
for index in 0 ..< Int ( nativeType. datalen) {
1651
1651
let currentEntry = nativeType. data [ index]
1652
1652
/* CONVERSION_PREP */
1653
- array. append ( currentEntry)
1653
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in C3Tuple_OutPointCVec_MonitorEventZPublicKeyZ_clone ( origPointer ) } )
1654
1654
}
1655
1655
1656
1656
if deallocate {
@@ -1753,7 +1753,7 @@ public class Bindings {
1753
1753
for index in 0 ..< Int ( nativeType. datalen) {
1754
1754
let currentEntry = nativeType. data [ index]
1755
1755
/* CONVERSION_PREP */
1756
- array. append ( currentEntry)
1756
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in CResult_NoneAPIErrorZ_clone ( origPointer ) } )
1757
1757
}
1758
1758
1759
1759
if deallocate {
@@ -2046,7 +2046,7 @@ public class Bindings {
2046
2046
for index in 0 ..< Int ( nativeType. datalen) {
2047
2047
let currentEntry = nativeType. data [ index]
2048
2048
/* CONVERSION_PREP */
2049
- array. append ( currentEntry)
2049
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in ChannelDetails_clone ( origPointer ) } )
2050
2050
}
2051
2051
2052
2052
if deallocate {
@@ -2149,7 +2149,7 @@ public class Bindings {
2149
2149
for index in 0 ..< Int ( nativeType. datalen) {
2150
2150
let currentEntry = nativeType. data [ index]
2151
2151
/* CONVERSION_PREP */
2152
- array. append ( currentEntry)
2152
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in ChannelMonitor_clone ( origPointer ) } )
2153
2153
}
2154
2154
2155
2155
if deallocate {
@@ -2252,7 +2252,7 @@ public class Bindings {
2252
2252
for index in 0 ..< Int ( nativeType. datalen) {
2253
2253
let currentEntry = nativeType. data [ index]
2254
2254
/* CONVERSION_PREP */
2255
- array. append ( currentEntry)
2255
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in Event_clone ( origPointer ) } )
2256
2256
}
2257
2257
2258
2258
if deallocate {
@@ -2355,7 +2355,7 @@ public class Bindings {
2355
2355
for index in 0 ..< Int ( nativeType. datalen) {
2356
2356
let currentEntry = nativeType. data [ index]
2357
2357
/* CONVERSION_PREP */
2358
- array. append ( currentEntry)
2358
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in MessageSendEvent_clone ( origPointer ) } )
2359
2359
}
2360
2360
2361
2361
if deallocate {
@@ -2458,7 +2458,7 @@ public class Bindings {
2458
2458
for index in 0 ..< Int ( nativeType. datalen) {
2459
2459
let currentEntry = nativeType. data [ index]
2460
2460
/* CONVERSION_PREP */
2461
- array. append ( currentEntry)
2461
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in MonitorEvent_clone ( origPointer ) } )
2462
2462
}
2463
2463
2464
2464
if deallocate {
@@ -2561,7 +2561,7 @@ public class Bindings {
2561
2561
for index in 0 ..< Int ( nativeType. datalen) {
2562
2562
let currentEntry = nativeType. data [ index]
2563
2563
/* CONVERSION_PREP */
2564
- array. append ( currentEntry)
2564
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in NetAddress_clone ( origPointer ) } )
2565
2565
}
2566
2566
2567
2567
if deallocate {
@@ -2664,7 +2664,7 @@ public class Bindings {
2664
2664
for index in 0 ..< Int ( nativeType. datalen) {
2665
2665
let currentEntry = nativeType. data [ index]
2666
2666
/* CONVERSION_PREP */
2667
- array. append ( currentEntry)
2667
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in NodeId_clone ( origPointer ) } )
2668
2668
}
2669
2669
2670
2670
if deallocate {
@@ -2767,7 +2767,7 @@ public class Bindings {
2767
2767
for index in 0 ..< Int ( nativeType. datalen) {
2768
2768
let currentEntry = nativeType. data [ index]
2769
2769
/* CONVERSION_PREP */
2770
- array. append ( currentEntry)
2770
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in OutPoint_clone ( origPointer ) } )
2771
2771
}
2772
2772
2773
2773
if deallocate {
@@ -2958,7 +2958,7 @@ public class Bindings {
2958
2958
for index in 0 ..< Int ( nativeType. datalen) {
2959
2959
let currentEntry = nativeType. data [ index]
2960
2960
/* CONVERSION_PREP */
2961
- array. append ( currentEntry)
2961
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in PhantomRouteHints_clone ( origPointer ) } )
2962
2962
}
2963
2963
2964
2964
if deallocate {
@@ -3061,7 +3061,7 @@ public class Bindings {
3061
3061
for index in 0 ..< Int ( nativeType. datalen) {
3062
3062
let currentEntry = nativeType. data [ index]
3063
3063
/* CONVERSION_PREP */
3064
- array. append ( currentEntry)
3064
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in PrivateRoute_clone ( origPointer ) } )
3065
3065
}
3066
3066
3067
3067
if deallocate {
@@ -3252,7 +3252,7 @@ public class Bindings {
3252
3252
for index in 0 ..< Int ( nativeType. datalen) {
3253
3253
let currentEntry = nativeType. data [ index]
3254
3254
/* CONVERSION_PREP */
3255
- array. append ( currentEntry)
3255
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in RouteHintHop_clone ( origPointer ) } )
3256
3256
}
3257
3257
3258
3258
if deallocate {
@@ -3355,7 +3355,7 @@ public class Bindings {
3355
3355
for index in 0 ..< Int ( nativeType. datalen) {
3356
3356
let currentEntry = nativeType. data [ index]
3357
3357
/* CONVERSION_PREP */
3358
- array. append ( currentEntry)
3358
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in RouteHint_clone ( origPointer ) } )
3359
3359
}
3360
3360
3361
3361
if deallocate {
@@ -3458,7 +3458,7 @@ public class Bindings {
3458
3458
for index in 0 ..< Int ( nativeType. datalen) {
3459
3459
let currentEntry = nativeType. data [ index]
3460
3460
/* CONVERSION_PREP */
3461
- array. append ( currentEntry)
3461
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in RouteHop_clone ( origPointer ) } )
3462
3462
}
3463
3463
3464
3464
if deallocate {
@@ -3649,7 +3649,7 @@ public class Bindings {
3649
3649
for index in 0 ..< Int ( nativeType. datalen) {
3650
3650
let currentEntry = nativeType. data [ index]
3651
3651
/* CONVERSION_PREP */
3652
- array. append ( currentEntry)
3652
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in SpendableOutputDescriptor_clone ( origPointer ) } )
3653
3653
}
3654
3654
3655
3655
if deallocate {
@@ -3840,7 +3840,7 @@ public class Bindings {
3840
3840
for index in 0 ..< Int ( nativeType. datalen) {
3841
3841
let currentEntry = nativeType. data [ index]
3842
3842
/* CONVERSION_PREP */
3843
- array. append ( currentEntry)
3843
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in C2Tuple_TxidCVec_C2Tuple_u32TxOutZZZ_clone ( origPointer ) } )
3844
3844
}
3845
3845
3846
3846
if deallocate {
@@ -4039,7 +4039,7 @@ public class Bindings {
4039
4039
for index in 0 ..< Int ( nativeType. datalen) {
4040
4040
let currentEntry = nativeType. data [ index]
4041
4041
/* CONVERSION_PREP */
4042
- array. append ( currentEntry)
4042
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in TxOut_clone ( origPointer ) } )
4043
4043
}
4044
4044
4045
4045
if deallocate {
@@ -4230,7 +4230,7 @@ public class Bindings {
4230
4230
for index in 0 ..< Int ( nativeType. datalen) {
4231
4231
let currentEntry = nativeType. data [ index]
4232
4232
/* CONVERSION_PREP */
4233
- array. append ( currentEntry)
4233
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in UpdateAddHTLC_clone ( origPointer ) } )
4234
4234
}
4235
4235
4236
4236
if deallocate {
@@ -4333,7 +4333,7 @@ public class Bindings {
4333
4333
for index in 0 ..< Int ( nativeType. datalen) {
4334
4334
let currentEntry = nativeType. data [ index]
4335
4335
/* CONVERSION_PREP */
4336
- array. append ( currentEntry)
4336
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in UpdateFailHTLC_clone ( origPointer ) } )
4337
4337
}
4338
4338
4339
4339
if deallocate {
@@ -4436,7 +4436,7 @@ public class Bindings {
4436
4436
for index in 0 ..< Int ( nativeType. datalen) {
4437
4437
let currentEntry = nativeType. data [ index]
4438
4438
/* CONVERSION_PREP */
4439
- array. append ( currentEntry)
4439
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in UpdateFailMalformedHTLC_clone ( origPointer ) } )
4440
4440
}
4441
4441
4442
4442
if deallocate {
@@ -4539,7 +4539,7 @@ public class Bindings {
4539
4539
for index in 0 ..< Int ( nativeType. datalen) {
4540
4540
let currentEntry = nativeType. data [ index]
4541
4541
/* CONVERSION_PREP */
4542
- array. append ( currentEntry)
4542
+ array. append ( withUnsafePointer ( to : currentEntry) { origPointer in UpdateFulfillHTLC_clone ( origPointer ) } )
4543
4543
}
4544
4544
4545
4545
if deallocate {
@@ -6949,7 +6949,7 @@ withUnsafePointer(to: Bindings.array_to_tuple32(array: random_seed_bytes)) { (ra
6949
6949
*/
6950
6950
6951
6951
public class func get_ldk_swift_bindings_version( ) -> String {
6952
- return " 3f2c15ddca88239c3ddc57c1e4cf63a02dca5492 "
6952
+ return " d1e33c2692808b7eaf3ddb4411171f7c82857e4f "
6953
6953
}
6954
6954
6955
6955
}
0 commit comments