@@ -82,6 +82,66 @@ ChannelTypeFeatures_write(objPointer)
82
82
return Result_ChannelTypeFeaturesDecodeErrorZ ( pointer: ChannelTypeFeatures_read ( serWrapper. cOpaqueStruct!) ) ;
83
83
}
84
84
85
+ public func set_static_remote_key_optional( ) -> Void {
86
+
87
+ let this_argPointer = UnsafeMutablePointer< LDKChannelTypeFeatures> . allocate( capacity: 1 )
88
+ this_argPointer. initialize ( to: self . cOpaqueStruct!)
89
+
90
+ return ChannelTypeFeatures_set_static_remote_key_optional ( this_argPointer) ;
91
+ }
92
+
93
+ public func set_static_remote_key_required( ) -> Void {
94
+
95
+ let this_argPointer = UnsafeMutablePointer< LDKChannelTypeFeatures> . allocate( capacity: 1 )
96
+ this_argPointer. initialize ( to: self . cOpaqueStruct!)
97
+
98
+ return ChannelTypeFeatures_set_static_remote_key_required ( this_argPointer) ;
99
+ }
100
+
101
+ public func supports_static_remote_key( ) -> Bool {
102
+
103
+ return withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_argPointer: UnsafePointer < LDKChannelTypeFeatures > ) in
104
+ ChannelTypeFeatures_supports_static_remote_key ( this_argPointer)
105
+ } ;
106
+ }
107
+
108
+ public func requires_static_remote_key( ) -> Bool {
109
+
110
+ return withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_argPointer: UnsafePointer < LDKChannelTypeFeatures > ) in
111
+ ChannelTypeFeatures_requires_static_remote_key ( this_argPointer)
112
+ } ;
113
+ }
114
+
115
+ public func set_scid_privacy_optional( ) -> Void {
116
+
117
+ let this_argPointer = UnsafeMutablePointer< LDKChannelTypeFeatures> . allocate( capacity: 1 )
118
+ this_argPointer. initialize ( to: self . cOpaqueStruct!)
119
+
120
+ return ChannelTypeFeatures_set_scid_privacy_optional ( this_argPointer) ;
121
+ }
122
+
123
+ public func set_scid_privacy_required( ) -> Void {
124
+
125
+ let this_argPointer = UnsafeMutablePointer< LDKChannelTypeFeatures> . allocate( capacity: 1 )
126
+ this_argPointer. initialize ( to: self . cOpaqueStruct!)
127
+
128
+ return ChannelTypeFeatures_set_scid_privacy_required ( this_argPointer) ;
129
+ }
130
+
131
+ public func supports_scid_privacy( ) -> Bool {
132
+
133
+ return withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_argPointer: UnsafePointer < LDKChannelTypeFeatures > ) in
134
+ ChannelTypeFeatures_supports_scid_privacy ( this_argPointer)
135
+ } ;
136
+ }
137
+
138
+ public func requires_scid_privacy( ) -> Bool {
139
+
140
+ return withUnsafePointer ( to: self . cOpaqueStruct!) { ( this_argPointer: UnsafePointer < LDKChannelTypeFeatures > ) in
141
+ ChannelTypeFeatures_requires_scid_privacy ( this_argPointer)
142
+ } ;
143
+ }
144
+
85
145
internal func free( ) -> Void {
86
146
87
147
return ChannelTypeFeatures_free ( self . cOpaqueStruct!) ;
0 commit comments