projects
/
ldk-c-bindings
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update auto-generated bindings for LDK 0.0.115
[ldk-c-bindings]
/
lightning-c-bindings
/
src
/
lightning
/
util
/
logger.rs
diff --git
a/lightning-c-bindings/src/lightning/util/logger.rs
b/lightning-c-bindings/src/lightning/util/logger.rs
index 1e4051d05dc3a28eda4290cf71517c0a251508cf..651255bb336930203cf5cc843a3fc9985387db2d 100644
(file)
--- a/
lightning-c-bindings/src/lightning/util/logger.rs
+++ b/
lightning-c-bindings/src/lightning/util/logger.rs
@@
-123,7
+123,7
@@
pub extern "C" fn Level_error() -> Level {
pub extern "C" fn Level_eq(a: &Level, b: &Level) -> bool {
if &a.to_native() == &b.to_native() { true } else { false }
}
pub extern "C" fn Level_eq(a: &Level, b: &Level) -> bool {
if &a.to_native() == &b.to_native() { true } else { false }
}
-///
Checks if two Levels contain equal inner contents
.
+///
Generates a non-cryptographic 64-bit hash of the Level
.
#[no_mangle]
pub extern "C" fn Level_hash(o: &Level) -> u64 {
// Note that we'd love to use alloc::collections::hash_map::DefaultHasher but it's not in core
#[no_mangle]
pub extern "C" fn Level_hash(o: &Level) -> u64 {
// Note that we'd love to use alloc::collections::hash_map::DefaultHasher but it's not in core