*
* Note that val (or a relevant inner pointer) may be NULL or all-0s to represent None
*/
- public void set_channel_type(@Nullable ChannelTypeFeatures val) {
+ public void set_channel_type(@Nullable org.ldk.structs.ChannelTypeFeatures val) {
bindings.OpenChannel_set_channel_type(this.ptr, val == null ? 0 : val.ptr);
Reference.reachabilityFence(this);
Reference.reachabilityFence(val);
* This ignores pointers and is_owned flags and looks at the values in fields.
* Two objects with NULL inner values will be considered "equal" here.
*/
- public boolean eq(OpenChannel b) {
+ public boolean eq(org.ldk.structs.OpenChannel b) {
boolean ret = bindings.OpenChannel_eq(this.ptr, b == null ? 0 : b.ptr);
Reference.reachabilityFence(this);
Reference.reachabilityFence(b);