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
[ldk-java]
/
ts
/
structs
/
NetworkGraph.ts
diff --git
a/ts/structs/NetworkGraph.ts
b/ts/structs/NetworkGraph.ts
index 58e00cfeaa59c2e4af48d9f96ec7585a5d2cda81..2d96e4c0a2614ecfcfd259941af6106f87020fe8 100644
(file)
--- a/
ts/structs/NetworkGraph.ts
+++ b/
ts/structs/NetworkGraph.ts
@@
-18,6
+18,13
@@
import * as bindings from '../bindings' // TODO: figure out location
bindings.NetworkGraph_free(this.ptr);
}
}
bindings.NetworkGraph_free(this.ptr);
}
}
+ public NetworkGraph clone() {
+ number ret = bindings.NetworkGraph_clone(this.ptr);
+ const ret_hu_conv: NetworkGraph = new NetworkGraph(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;
+ }
+
public Uint8Array write() {
Uint8Array ret = bindings.NetworkGraph_write(this.ptr);
return ret;
public Uint8Array write() {
Uint8Array ret = bindings.NetworkGraph_write(this.ptr);
return ret;