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 files
[ldk-java]
/
c_sharp
/
src
/
org
/
ldk
/
structs
/
APIError.cs
diff --git
a/c_sharp/src/org/ldk/structs/APIError.cs
b/c_sharp/src/org/ldk/structs/APIError.cs
index b32701c6ff1e4fb193509ded3e153a110d795fb9..bf71371bc8fbe5a769692666aadc1e22e5893190 100644
(file)
--- a/
c_sharp/src/org/ldk/structs/APIError.cs
+++ b/
c_sharp/src/org/ldk/structs/APIError.cs
@@
-198,5
+198,14
@@
public class APIError : CommonBase {
if (!(o is APIError)) return false;
return this.eq((APIError)o);
}
if (!(o is APIError)) return false;
return this.eq((APIError)o);
}
+ /**
+ * Serialize the APIError object into a byte array which can be read by APIError_read
+ */
+ public byte[] write() {
+ byte[] ret = bindings.APIError_write(this.ptr);
+ GC.KeepAlive(this);
+ return ret;
+ }
+
}
} } }
}
} } }