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
/
Ping.cs
diff --git
a/c_sharp/src/org/ldk/structs/Ping.cs
b/c_sharp/src/org/ldk/structs/Ping.cs
index cf5d834d8a2c721d5b750e9db0b3099d3866a6ad..9888a26a9016f70e194adeb1b426b5d3b2b253f6 100644
(file)
--- a/
c_sharp/src/org/ldk/structs/Ping.cs
+++ b/
c_sharp/src/org/ldk/structs/Ping.cs
@@
-106,7
+106,7
@@
public class Ping : CommonBase {
* Two objects with NULL inner values will be considered "equal" here.
*/
public bool eq(org.ldk.structs.Ping b) {
* Two objects with NULL inner values will be considered "equal" here.
*/
public bool eq(org.ldk.structs.Ping b) {
- bool ret = bindings.Ping_eq(this.ptr, b
== null ? 0 : b
.ptr);
+ bool ret = bindings.Ping_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); };