projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #748 from TheBlueMatt/2020-11-router-fuzzer
[rust-lightning]
/
lightning-c-bindings
/
src
/
util
/
logger.rs
diff --git
a/lightning-c-bindings/src/util/logger.rs
b/lightning-c-bindings/src/util/logger.rs
index ae20abbb6aec25c44a780dc1dc096ee76b4a089d..8a1fbb15d54340e37dccf5b0f6592a6020659681 100644
(file)
--- a/
lightning-c-bindings/src/util/logger.rs
+++ b/
lightning-c-bindings/src/util/logger.rs
@@
-74,6
+74,10
@@
impl Level {
}
}
}
}
}
}
+#[no_mangle]
+pub extern "C" fn Level_clone(orig: &Level) -> Level {
+ orig.clone()
+}
/// Returns the most verbose logging level.
#[must_use]
#[no_mangle]
/// Returns the most verbose logging level.
#[must_use]
#[no_mangle]