@@ -19,9 +19,9 @@ AcceptChannel_get_temporary_channel_id(this_ptrPointer)
19
19
20
20
public func set_temporary_channel_id( val: [ UInt8 ] ) -> Void {
21
21
22
- let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
23
- this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
24
-
22
+ let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
23
+ this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
24
+
25
25
return AcceptChannel_set_temporary_channel_id ( this_ptrPointer, Bindings . new_LDKThirtyTwoBytes ( array: val) ) ;
26
26
}
27
27
@@ -34,9 +34,9 @@ AcceptChannel_get_dust_limit_satoshis(this_ptrPointer)
34
34
35
35
public func set_dust_limit_satoshis( val: UInt64 ) -> Void {
36
36
37
- let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
38
- this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
39
-
37
+ let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
38
+ this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
39
+
40
40
return AcceptChannel_set_dust_limit_satoshis ( this_ptrPointer, val) ;
41
41
}
42
42
@@ -49,9 +49,9 @@ AcceptChannel_get_max_htlc_value_in_flight_msat(this_ptrPointer)
49
49
50
50
public func set_max_htlc_value_in_flight_msat( val: UInt64 ) -> Void {
51
51
52
- let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
53
- this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
54
-
52
+ let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
53
+ this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
54
+
55
55
return AcceptChannel_set_max_htlc_value_in_flight_msat ( this_ptrPointer, val) ;
56
56
}
57
57
@@ -64,9 +64,9 @@ AcceptChannel_get_channel_reserve_satoshis(this_ptrPointer)
64
64
65
65
public func set_channel_reserve_satoshis( val: UInt64 ) -> Void {
66
66
67
- let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
68
- this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
69
-
67
+ let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
68
+ this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
69
+
70
70
return AcceptChannel_set_channel_reserve_satoshis ( this_ptrPointer, val) ;
71
71
}
72
72
@@ -79,9 +79,9 @@ AcceptChannel_get_htlc_minimum_msat(this_ptrPointer)
79
79
80
80
public func set_htlc_minimum_msat( val: UInt64 ) -> Void {
81
81
82
- let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
83
- this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
84
-
82
+ let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
83
+ this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
84
+
85
85
return AcceptChannel_set_htlc_minimum_msat ( this_ptrPointer, val) ;
86
86
}
87
87
@@ -94,9 +94,9 @@ AcceptChannel_get_minimum_depth(this_ptrPointer)
94
94
95
95
public func set_minimum_depth( val: UInt32 ) -> Void {
96
96
97
- let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
98
- this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
99
-
97
+ let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
98
+ this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
99
+
100
100
return AcceptChannel_set_minimum_depth ( this_ptrPointer, val) ;
101
101
}
102
102
@@ -109,9 +109,9 @@ AcceptChannel_get_to_self_delay(this_ptrPointer)
109
109
110
110
public func set_to_self_delay( val: UInt16 ) -> Void {
111
111
112
- let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
113
- this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
114
-
112
+ let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
113
+ this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
114
+
115
115
return AcceptChannel_set_to_self_delay ( this_ptrPointer, val) ;
116
116
}
117
117
@@ -124,9 +124,9 @@ AcceptChannel_get_max_accepted_htlcs(this_ptrPointer)
124
124
125
125
public func set_max_accepted_htlcs( val: UInt16 ) -> Void {
126
126
127
- let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
128
- this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
129
-
127
+ let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
128
+ this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
129
+
130
130
return AcceptChannel_set_max_accepted_htlcs ( this_ptrPointer, val) ;
131
131
}
132
132
@@ -139,9 +139,9 @@ AcceptChannel_get_funding_pubkey(this_ptrPointer)
139
139
140
140
public func set_funding_pubkey( val: [ UInt8 ] ) -> Void {
141
141
142
- let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
143
- this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
144
-
142
+ let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
143
+ this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
144
+
145
145
return AcceptChannel_set_funding_pubkey ( this_ptrPointer, Bindings . new_LDKPublicKey ( array: val) ) ;
146
146
}
147
147
@@ -154,9 +154,9 @@ AcceptChannel_get_revocation_basepoint(this_ptrPointer)
154
154
155
155
public func set_revocation_basepoint( val: [ UInt8 ] ) -> Void {
156
156
157
- let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
158
- this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
159
-
157
+ let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
158
+ this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
159
+
160
160
return AcceptChannel_set_revocation_basepoint ( this_ptrPointer, Bindings . new_LDKPublicKey ( array: val) ) ;
161
161
}
162
162
@@ -169,9 +169,9 @@ AcceptChannel_get_payment_point(this_ptrPointer)
169
169
170
170
public func set_payment_point( val: [ UInt8 ] ) -> Void {
171
171
172
- let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
173
- this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
174
-
172
+ let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
173
+ this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
174
+
175
175
return AcceptChannel_set_payment_point ( this_ptrPointer, Bindings . new_LDKPublicKey ( array: val) ) ;
176
176
}
177
177
@@ -184,9 +184,9 @@ AcceptChannel_get_delayed_payment_basepoint(this_ptrPointer)
184
184
185
185
public func set_delayed_payment_basepoint( val: [ UInt8 ] ) -> Void {
186
186
187
- let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
188
- this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
189
-
187
+ let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
188
+ this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
189
+
190
190
return AcceptChannel_set_delayed_payment_basepoint ( this_ptrPointer, Bindings . new_LDKPublicKey ( array: val) ) ;
191
191
}
192
192
@@ -199,9 +199,9 @@ AcceptChannel_get_htlc_basepoint(this_ptrPointer)
199
199
200
200
public func set_htlc_basepoint( val: [ UInt8 ] ) -> Void {
201
201
202
- let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
203
- this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
204
-
202
+ let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
203
+ this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
204
+
205
205
return AcceptChannel_set_htlc_basepoint ( this_ptrPointer, Bindings . new_LDKPublicKey ( array: val) ) ;
206
206
}
207
207
@@ -214,9 +214,9 @@ AcceptChannel_get_first_per_commitment_point(this_ptrPointer)
214
214
215
215
public func set_first_per_commitment_point( val: [ UInt8 ] ) -> Void {
216
216
217
- let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
218
- this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
219
-
217
+ let this_ptrPointer = UnsafeMutablePointer< LDKAcceptChannel> . allocate( capacity: 1 )
218
+ this_ptrPointer. initialize ( to: self . cOpaqueStruct!)
219
+
220
220
return AcceptChannel_set_first_per_commitment_point ( this_ptrPointer, Bindings . new_LDKPublicKey ( array: val) ) ;
221
221
}
222
222
0 commit comments