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
/
DecodeError.java
diff --git
a/src/main/java/org/ldk/structs/DecodeError.java
b/src/main/java/org/ldk/structs/DecodeError.java
index e8cec47071df259dcd5318d91d8e9bd1392502f7..d39265af082e897be8681e33db684daddf64c080 100644
(file)
--- a/
src/main/java/org/ldk/structs/DecodeError.java
+++ b/
src/main/java/org/ldk/structs/DecodeError.java
@@
-14,4
+14,11
@@
public class DecodeError extends CommonBase {
if (ptr != 0) { bindings.DecodeError_free(ptr); }
}
if (ptr != 0) { bindings.DecodeError_free(ptr); }
}
+ public DecodeError clone() {
+ long ret = bindings.DecodeError_clone(this.ptr);
+ DecodeError ret_hu_conv = new DecodeError(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;
+ }
+
}
}