projects
/
ldk-java
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bindings updates
[ldk-java]
/
ts
/
structs
/
DecodeError.ts
diff --git
a/ts/structs/DecodeError.ts
b/ts/structs/DecodeError.ts
index fc3278b4bbdaa579d874b40a0aa539392efe238d..750447a81a56214117621b58bd538122eb05d75d 100644
(file)
--- a/
ts/structs/DecodeError.ts
+++ b/
ts/structs/DecodeError.ts
@@
-18,4
+18,11
@@
import * as bindings from '../bindings' // TODO: figure out location
bindings.DecodeError_free(this.ptr);
}
}
bindings.DecodeError_free(this.ptr);
}
}
+ public DecodeError clone() {
+ number ret = bindings.DecodeError_clone(this.ptr);
+ const ret_hu_conv: DecodeError = new DecodeError(null, ret);
+ ret_hu_conv.ptrs_to.add(this);
+ return ret_hu_conv;
+ }
+
}
}