X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning-c-bindings%2Fsrc%2Futil%2Flogger.rs;h=e6b98de5b09a7688dda308cdcc2e5141e996025c;hb=b2f0ccc7e0ef8b31567cb017d0b7cce9f7204803;hp=90994504c9d678cf1cc8852b4f9f1f3750a65376;hpb=a132c4d7f8648278537854ae08a83d704853ed42;p=ldk-c-bindings diff --git a/lightning-c-bindings/src/util/logger.rs b/lightning-c-bindings/src/util/logger.rs index 9099450..e6b98de 100644 --- a/lightning-c-bindings/src/util/logger.rs +++ b/lightning-c-bindings/src/util/logger.rs @@ -1,3 +1,11 @@ +// This file is Copyright its original authors, visible in version control +// history and in the source files from which this was generated. +// +// This file is licensed under the license available in the LICENSE or LICENSE.md +// file in the root of this repository or, if no such file exists, the same +// license as that which applies to the original source files from which this +// source was automatically generated. + //! Log traits live here, which are called throughout the library to provide useful information for //! debugging purposes. //! @@ -95,8 +103,8 @@ pub struct Logger { pub this_arg: *mut c_void, /// Logs the `Record` pub log: extern "C" fn (this_arg: *const c_void, record: *const std::os::raw::c_char), -/// Frees any resources associated with this object given its this_arg pointer. -/// Does not need to free the outer struct containing function pointers and may be NULL is no resources need to be freed. + /// Frees any resources associated with this object given its this_arg pointer. + /// Does not need to free the outer struct containing function pointers and may be NULL is no resources need to be freed. pub free: Option, } unsafe impl Sync for Logger {}