projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[C#] Update auto-generated C# bindings
[ldk-java]
/
c_sharp
/
src
/
org
/
ldk
/
structs
/
SignOrCreationError.cs
diff --git
a/c_sharp/src/org/ldk/structs/SignOrCreationError.cs
b/c_sharp/src/org/ldk/structs/SignOrCreationError.cs
index a077e98688c82517cbff7f1019269d14ef22ad78..f030d2dda2ddf22351d0142fd99bd485b50be883 100644
(file)
--- a/
c_sharp/src/org/ldk/structs/SignOrCreationError.cs
+++ b/
c_sharp/src/org/ldk/structs/SignOrCreationError.cs
@@
-97,9
+97,11
@@
public class SignOrCreationError : CommonBase {
* Get the string representation of a SignOrCreationError object
*/
public string to_str() {
* Get the string representation of a SignOrCreationError object
*/
public string to_str() {
-
stri
ng ret = bindings.SignOrCreationError_to_str(this.ptr);
+
lo
ng ret = bindings.SignOrCreationError_to_str(this.ptr);
GC.KeepAlive(this);
GC.KeepAlive(this);
- return ret;
+ if (ret >= 0 && ret <= 4096) { return null; }
+ string ret_conv = InternalUtils.decodeString(ret);
+ return ret_conv;
}
}
}
}