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 bindings to LDK 0.0.123
[ldk-java]
/
c_sharp
/
src
/
org
/
ldk
/
structs
/
Pong.cs
diff --git
a/c_sharp/src/org/ldk/structs/Pong.cs
b/c_sharp/src/org/ldk/structs/Pong.cs
index 7d31da140d2499558277f60974b8da6f7a83e03a..46f567342a2fd588e11b1810882d155b535f92bb 100644
(file)
--- a/
c_sharp/src/org/ldk/structs/Pong.cs
+++ b/
c_sharp/src/org/ldk/structs/Pong.cs
@@
-87,7
+87,7
@@
public class Pong : CommonBase {
* Two objects with NULL inner values will be considered "equal" here.
*/
public bool eq(org.ldk.structs.Pong b) {
* Two objects with NULL inner values will be considered "equal" here.
*/
public bool eq(org.ldk.structs.Pong b) {
- bool ret = bindings.Pong_eq(this.ptr, b
== null ? 0 : b
.ptr);
+ bool ret = bindings.Pong_eq(this.ptr, b.ptr);
GC.KeepAlive(this);
GC.KeepAlive(b);
if (this != null) { this.ptrs_to.AddLast(b); };
GC.KeepAlive(this);
GC.KeepAlive(b);
if (this != null) { this.ptrs_to.AddLast(b); };