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
/
Sha256.ts
diff --git
a/ts/structs/Sha256.ts
b/ts/structs/Sha256.ts
index bb9bf919b762f91907fb467bf457cf2237f2fee9..dd23a09865c63d965fc274c24c98b399b83aaec9 100644
(file)
--- a/
ts/structs/Sha256.ts
+++ b/
ts/structs/Sha256.ts
@@
-18,9
+18,8
@@
import * as bindings from '../bindings' // TODO: figure out location
bindings.Sha256_free(this.ptr);
}
}
bindings.Sha256_free(this.ptr);
}
}
- public boolean eq(Sha256 b) {
- boolean ret = bindings.Sha256_eq(this.ptr, b == null ? 0 : b.ptr & ~1);
- this.ptrs_to.add(b);
+ public number clone_ptr() {
+ number ret = bindings.Sha256_clone_ptr(this.ptr);
return ret;
}
return ret;
}
@@
-31,4
+30,15
@@
import * as bindings from '../bindings' // TODO: figure out location
return ret_hu_conv;
}
return ret_hu_conv;
}
+ public number hash() {
+ number ret = bindings.Sha256_hash(this.ptr);
+ return ret;
+ }
+
+ public boolean eq(Sha256 b) {
+ boolean ret = bindings.Sha256_eq(this.ptr, b == null ? 0 : b.ptr & ~1);
+ this.ptrs_to.add(b);
+ return ret;
+ }
+
}
}