projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bindings updates
[ldk-java]
/
src
/
main
/
java
/
org
/
ldk
/
structs
/
DirectionalChannelInfo.java
diff --git
a/src/main/java/org/ldk/structs/DirectionalChannelInfo.java
b/src/main/java/org/ldk/structs/DirectionalChannelInfo.java
index eaef870597aa25423de9e95181aaf6d5cb07da2a..82ec50918f8eda135cfc04f5237de4d8dfdb11b1 100644
(file)
--- a/
src/main/java/org/ldk/structs/DirectionalChannelInfo.java
+++ b/
src/main/java/org/ldk/structs/DirectionalChannelInfo.java
@@
-14,6
+14,13
@@
public class DirectionalChannelInfo extends CommonBase {
if (ptr != 0) { bindings.DirectionalChannelInfo_free(ptr); }
}
if (ptr != 0) { bindings.DirectionalChannelInfo_free(ptr); }
}
+ public DirectionalChannelInfo clone() {
+ long ret = bindings.DirectionalChannelInfo_clone(this.ptr);
+ DirectionalChannelInfo ret_hu_conv = new DirectionalChannelInfo(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;
+ }
+
public int get_last_update() {
int ret = bindings.DirectionalChannelInfo_get_last_update(this.ptr);
return ret;
public int get_last_update() {
int ret = bindings.DirectionalChannelInfo_get_last_update(this.ptr);
return ret;
@@
-53,6
+60,7
@@
public class DirectionalChannelInfo extends CommonBase {
public RoutingFees get_fees() {
long ret = bindings.DirectionalChannelInfo_get_fees(this.ptr);
RoutingFees ret_hu_conv = new RoutingFees(null, ret);
public RoutingFees get_fees() {
long ret = bindings.DirectionalChannelInfo_get_fees(this.ptr);
RoutingFees ret_hu_conv = new RoutingFees(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
return ret_hu_conv;
}
return ret_hu_conv;
}
@@
-64,6
+72,7
@@
public class DirectionalChannelInfo extends CommonBase {
public ChannelUpdate get_last_update_message() {
long ret = bindings.DirectionalChannelInfo_get_last_update_message(this.ptr);
ChannelUpdate ret_hu_conv = new ChannelUpdate(null, ret);
public ChannelUpdate get_last_update_message() {
long ret = bindings.DirectionalChannelInfo_get_last_update_message(this.ptr);
ChannelUpdate ret_hu_conv = new ChannelUpdate(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
return ret_hu_conv;
}
return ret_hu_conv;
}
@@
-80,6
+89,7
@@
public class DirectionalChannelInfo extends CommonBase {
public static DirectionalChannelInfo constructor_read(byte[] ser) {
long ret = bindings.DirectionalChannelInfo_read(ser);
DirectionalChannelInfo ret_hu_conv = new DirectionalChannelInfo(null, ret);
public static DirectionalChannelInfo constructor_read(byte[] ser) {
long ret = bindings.DirectionalChannelInfo_read(ser);
DirectionalChannelInfo ret_hu_conv = new DirectionalChannelInfo(null, ret);
+ ret_hu_conv.ptrs_to.add(ret_hu_conv);
return ret_hu_conv;
}
return ret_hu_conv;
}