projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Java] Update auto-generated Java bindings to LDK 0.0.121
[ldk-java]
/
src
/
main
/
java
/
org
/
ldk
/
structs
/
Description.java
diff --git
a/src/main/java/org/ldk/structs/Description.java
b/src/main/java/org/ldk/structs/Description.java
index 093a471e6407d127bed4bff9c5a2d95e0c27f3a9..1ce3581d2397c18798b8cab1d0798c4fda96e1fb 100644
(file)
--- a/
src/main/java/org/ldk/structs/Description.java
+++ b/
src/main/java/org/ldk/structs/Description.java
@@
-85,12
+85,24
@@
public class Description extends CommonBase {
}
/**
}
/**
- * Returns the underlying description [`String`]
+ * Returns the underlying description [`
Untrusted
String`]
*/
*/
- public String into_inner() {
-
Stri
ng ret = bindings.Description_into_inner(this.ptr);
+ public
Untrusted
String into_inner() {
+
lo
ng ret = bindings.Description_into_inner(this.ptr);
Reference.reachabilityFence(this);
Reference.reachabilityFence(this);
+ if (ret >= 0 && ret <= 4096) { return null; }
+ org.ldk.structs.UntrustedString ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new org.ldk.structs.UntrustedString(null, ret); }
+ if (ret_hu_conv != null) { ret_hu_conv.ptrs_to.add(this); };
if (this != null) { this.ptrs_to.add(this); };
if (this != null) { this.ptrs_to.add(this); };
+ return ret_hu_conv;
+ }
+
+ /**
+ * Get the string representation of a Description object
+ */
+ public String to_str() {
+ String ret = bindings.Description_to_str(this.ptr);
+ Reference.reachabilityFence(this);
return ret;
}
return ret;
}