projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update auto-generated bindings with new upstream.
[ldk-java]
/
ts
/
structs
/
Ping.ts
diff --git
a/ts/structs/Ping.ts
b/ts/structs/Ping.ts
index 2cc1a913f6ea09dec8fd5849b68a3e35dc76f55c..f7054fe012ae08e2ec003add20f46ebc69e91716 100644
(file)
--- a/
ts/structs/Ping.ts
+++ b/
ts/structs/Ping.ts
@@
-18,13
+18,6
@@
import * as bindings from '../bindings' // TODO: figure out location
bindings.Ping_free(this.ptr);
}
}
bindings.Ping_free(this.ptr);
}
}
- public Ping clone() {
- number ret = bindings.Ping_clone(this.ptr);
- const ret_hu_conv: Ping = new Ping(null, ret);
- ret_hu_conv.ptrs_to.add(this);
- return ret_hu_conv;
- }
-
public number get_ponglen() {
number ret = bindings.Ping_get_ponglen(this.ptr);
return ret;
public number get_ponglen() {
number ret = bindings.Ping_get_ponglen(this.ptr);
return ret;
@@
-50,6
+43,13
@@
import * as bindings from '../bindings' // TODO: figure out location
return ret_hu_conv;
}
return ret_hu_conv;
}
+ public Ping clone() {
+ number ret = bindings.Ping_clone(this.ptr);
+ const ret_hu_conv: Ping = new Ping(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;
+ }
+
public Uint8Array write() {
Uint8Array ret = bindings.Ping_write(this.ptr);
return ret;
public Uint8Array write() {
Uint8Array ret = bindings.Ping_write(this.ptr);
return ret;