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
/
Watch.ts
diff --git
a/ts/structs/Watch.ts
b/ts/structs/Watch.ts
index 269905b0a0b926e5668dd0faff44e0a8dd386033..34555536253a08e72017feab484d3b9fb7a2c95d 100644
(file)
--- a/
ts/structs/Watch.ts
+++ b/
ts/structs/Watch.ts
@@
-54,7
+54,7
@@
import * as bindings from '../bindings' // TODO: figure out location
release_pending_monitor_events (): number[] {
MonitorEvent[] ret = arg.release_pending_monitor_events();
release_pending_monitor_events (): number[] {
MonitorEvent[] ret = arg.release_pending_monitor_events();
- result: number[] =
(number[])Arrays.stream(ret).map(arr_conv_14 -> arr_conv_14 == null ? 0 : arr_conv_14.ptr & ~1).toArray(
);
+ result: number[] =
Arrays.stream(ret).map(arr_conv_14 -> arr_conv_14 == null ? 0 : arr_conv_14.ptr & ~1).toArray(number[]::new
);
/* TODO 2 MonitorEvent */;
return result;
},
/* TODO 2 MonitorEvent */;
return result;
},