projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update auto-generated bindings to 0.0.103
[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 198e61d1234569383d5318686899820fe2d82b98..5f7d8809b8b3b98763ef0c3614ea6b262d94d2c4 100644
(file)
--- a/
src/main/java/org/ldk/structs/DecodeError.java
+++ b/
src/main/java/org/ldk/structs/DecodeError.java
@@
-24,8
+24,8
@@
public class DecodeError extends CommonBase {
*/
public DecodeError clone() {
long ret = bindings.DecodeError_clone(this.ptr);
*/
public DecodeError clone() {
long ret = bindings.DecodeError_clone(this.ptr);
- if (ret
< 1024
) { return null; }
- DecodeError ret_hu_conv = n
ew DecodeError(null, ret);
+ if (ret
>= 0 && ret <= 4096
) { return null; }
+ DecodeError ret_hu_conv = n
ull; if (ret < 0 || ret > 4096) { ret_hu_conv = new DecodeError(null, ret); }
ret_hu_conv.ptrs_to.add(this);
return ret_hu_conv;
}
ret_hu_conv.ptrs_to.add(this);
return ret_hu_conv;
}